Results 1 to 4 of 4

Thread: Is this possible.....?

  1. #1

    Thread Starter
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544

    Question

    Is it possible to have to WinSock Controls to transmit on the same form, with different portnumbers???

    Is it also possible to have a WinSock App to both recieve and transmit?? I can't get it to work....

    [Edited by CyberCarsten on 08-26-2000 at 05:04 AM]
    razor
    Software Engineer Student, Aalborg University, Denmark
    http://www.cs.auc.dk

    My email at AUC: will get a new email soon
    My website: http://www.razorsoftware.net


    Windows XP Pro/ Gentoo Linux (Laptop)
    Windows XP Pro (Home PC)

  2. #2
    Lively Member
    Join Date
    Oct 1999
    Location
    -
    Posts
    101
    You can have as many Winsock controls in one form provided
    that the port numbers are not the same.

    If you use two winsock with the same port number, it will
    give you a "Address in use" error.

    If you want to have two or more clients using one port
    and one winsock control, you'll have to indexed the
    winsock control...

    hope this helps...
    icq: 16228887

  3. #3
    Lively Member
    Join Date
    Oct 1999
    Location
    -
    Posts
    101
    yes, a single winsock can transmit at the same time
    receive an incoming data in a given port.

    but first, you'll have to figure what kind of
    protocol to use. TCP or UDP.
    icq: 16228887

  4. #4

    Thread Starter
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544
    Ok thanks! I'll try!
    razor
    Software Engineer Student, Aalborg University, Denmark
    http://www.cs.auc.dk

    My email at AUC: will get a new email soon
    My website: http://www.razorsoftware.net


    Windows XP Pro/ Gentoo Linux (Laptop)
    Windows XP Pro (Home PC)

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