help about sending and receiving data thru ip adressess
hello guys,
i am working on two very simple programs right now. both programs do exactly the same thing, send and receive files from a certain specified directory.
what i dont know how to achieve, is that, i would like to put a textbox field in the program asking the ip address of the receiver. whereas on the receiver side asking the ip address of the sender. the file that i would like to send is only a .txt file. probably 50kb max. what do you guys suggest? i dont know where to start and what API to use, your help i greatly needed and appreciated. thanks in advance! :thumb:
Re: help about sending and receiving data thru ip adressess
Why don't you just setup a winsock to listen on port X TCP and do whatever you want then?
WinsockVB is a good resource for winsock information.
Re: help about sending and receiving data thru ip adressess
ok thanks your link was helpfull. i tried searching in msdn. they have a sample there in which all i do i copy paste it into my app. add now the strings that i type from the client program appears in the server program in the other side. thanks. thats all i needed..