To make use of TCP/IP services on a real amiga you need bsdsocket.library.
On a real amiga this library is created by the TCP/IP stack (genesis, miami, amitcp).
Under winuae you can make use of bsdsocket emulation. Winuae creates the library and through emulation makes use of the windows internet connection.