connect() function, strange error

This is a discussion on connect() function, strange error within the C Programming forums, part of the General Programming Boards category; I'm currently doing a class work that involves socket programming. I normally don't resort to message boards, but the situation ...

  1. #1
    Registered User
    Join Date
    Nov 2006
    Location
    Coimbra, Portugal
    Posts
    64

    connect() function, strange error

    I'm currently doing a class work that involves socket programming. I normally don't resort to message boards, but the situation is desperate. For some reason, the connect() function fails when I try to connect to a socket on port 6007 while having another socket on port 9000. errno is set to EILSEQ when the connect() function fails.

    Why would errno be set to EILSEQ after connect() returned -1? Can you give me any possible reasons?

  2. #2
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    It means incorrect byte order. I don't know, but you're might be setting up the call to connect incorrectly.

    If you want further information, you'll need to look at Microsoft's knowledge base article Q555375.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  2. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 03:09 AM
  3. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 10:17 AM
  4. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 08:26 AM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21