You can use Winsock API directly. There's a winsock unit for pascal, which convert parameters from C
to pascal style.
To complete your task, you need just:
WSAStartup(); { to init winsocket system.}
socket(); {to create a socket.}
connect(); {connect to server (if you want to act as a client)}
send(); {send request}
recv(); { receive reply }
...
Good luck!
If you want Winsock help, please contact me (ping@lodesoft.com)