public Int32 Init(string ipaddr, ushort port) { CAddr addr = new CAddr(ipaddr); server = new EndPoint(ipaddr, port); rcvEndPoint = new EndPoint(); Int32 err = ServerLibrary.Server_initServer(connection, port); return(err); }
public EndPoint(string ipAddr, ushort p) { addr = new CAddr(ipAddr); port = p; }