Results 1 to 3 of 3

Thread: help about sending and receiving data thru ip adressess

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    2

    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!

  2. #2
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    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.
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    2

    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
  •  



Click Here to Expand Forum to Full Width