IRC's DCC Protocol, Help....
Posted on 1998-04-12
I understand I need use sockets to implement IRC's DCC protocol to my program. Here is the part I dont understand.
Here is a quick explanation on how DCC Works:
Data is sent in packets, rather than dumped in a stream manner. The recipient should acknowledge each packet by transmitting the total number of bytes received as an unsigned, 4 byte integer in network byte order.
My Question: How do I send the number of bytes I have received as an unsigned, 4 byte integer?
An Answer would be greately appreciated.