|
-
Aug 18th, 2005, 08:27 AM
#1
Thread Starter
New Member
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!
-
Aug 18th, 2005, 11:12 AM
#2
Fanatic Member
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.
-
Aug 19th, 2005, 10:39 AM
#3
Thread Starter
New Member
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..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|