TBlockSocket.CreateSocketByName
TBlockSocket     

procedure CreateSocketByName(Const Value: string);

Unit
blcksock

Description
It create socket. Address resolving of Value tells what type of socket is created.

If Value is resolved as IPv4 IP, then is created IPv4 sopcket. If value is resolved as IPv6 address, then is created IPv6 socket.


See also:
CreateSocket, Family, GetSocketProtocol, GetSocketType, IP6used, OnCreateSocket, PreferIP4