[archived content]

module dfl.socket;
public GetHost asyncGetHostByAddr(char[] addr,GetHostCallback callback);
public GetHost asyncGetHostByAddr(uint32_t addr,GetHostCallback callback);
public GetHost asyncGetHostByName(char[] name,GetHostCallback callback);
public class AsyncSocket
{
public bool blocking; [property setter]
public bool blocking; [property getter]
public void close();
public void event(EventType events,RegisterEventCallback callback);
}
public class AsyncTcpSocket: AsyncSocket
{
[+] Inherited members
}
public class AsyncUdpSocket: AsyncSocket
{
[+] Inherited members
}
public enum EventType;
public class GetHost
{
public void cancel();
}
public class SocketQueue
{
public void event(Socket _sock,EventType type,int err);
public void[] peek();
public void[] peek(uint len);
public void readEvent();
public void[] receive();
public void[] receive(uint len);
public uint receiveBytes; [property getter]
public void reset();
public void send(void[] buf);
public uint sendBytes; [property getter]
public final Socket socket; [property getter]
public void writeEvent();
}

Page last modified on June 22, 2009, at 01:42 PM