Code: Select all
sin\sin_addr = inet_addr_("127.0.0.1")
sin\sin_addr = #INADDR_ANY
Code: Select all
sin\sin_addr = inet_addr_("127.0.0.1")
sin\sin_addr = #INADDR_ANY
It is possible to use ReceiveNetworkData() (instead of ReceiveNetworkFile()) to receive files, which are sent with SendNetworkFile().Tranquil wrote:There are many improvements required on the network lib to use it for commercial applications. (for example: an option for disable the receive of files on a server socket)
Code: Select all
First 8 Bytes: PBMGSFLE
Than a long: [Size of File]
Than the file data: [Bytes]