socket

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User

# socket: winsock package
Name | Type | Description
sdaccept | verb | accept connection
sdasync | verb | set up async connection for the socket
sdbind | verb | bind socket
sdcheck | verb | check socket for errors
sdcleanup | verb | close all sockets
sdclose | verb | close socket
sdconnect | verb | connect to the socket
sdgethostbyaddr | verb | returns a name from an address
sdgethostbyname | verb | returns an address from a name
sdgethostname | verb | returns host name
sdgetpeername | verb | returns address this socket is connected to
sdgetsockets | verb | returns all socket numbers
sdgetsockname | verb | returns address of this socket
sdinit | verb | initialize
sdioctl | verb | read or write socket control information
sdionread | verb | get number of bytes available for reading socket
sdlisten | verb | set up listener for the socket
sdrecv | verb | read data
sdrecvfrom | verb | read data from
sdselect | verb | find sockets that need work
sdsend | verb | send data
sdsendto | verb | send data
sdsetsockopt | verb | sets the int value of a socket option.
sdsockaddress | verb | returns address
sdsockerror | verb | retrieve socket error code
sdsocket | verb | creates a socket
sdaccept
    accept connection
    y. - socket
sdbind
    bind socket
    y. - socket , family , address , port
    family must be AF_INET
    address of '' is '0.0.0.0' (INADDR_ANY)
sdcheck
    check socket for errors
    socket utilities
sdclose
    close socket
    y. - socket
sdconnect
    connect to the socket
    y. - socket , family , address , port
sdgethostbyaddr
    returns a name from an address
    y. - AF_INET;host ip address
sdgethostbyname
    returns an address from a name
    y. - host name
sdgetpeername
    returns address this socket is connected to
    y. active socket
sdgetsockname
    returns address of this socket
    y. active socket
sdlisten
    set up listener for the socket
    y. - socket;queue_length
    SOMAXCONN - The maximum length of the queue of pending connections
sdrecv
    read data
    y.- socket,data_size, indicator specifying the way in which the call is made (0)
sdrecvfrom
    read data from
    y.- socket, data_size, indicator specifying the way in which the call is made (0)
sdselect
    find sockets that need work
    if no arguments given, look at all sockets
    convert millisecond timeout to seconds/microseconds
sdsend
    send data
    y.- socket; indicator specifying the way in which the call is made (0)
    x.- data
sdsendto
    send data
    y.- socket ; flags ; family ; address ; port
    x.- data
sdsockaddress
    returns address
    y. active socket
>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User