Thread: connect() function, strange error

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

    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
    Göteborg, Sweden
    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, 03:07 AM
  2. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 04: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