Thread: interesting error code returned from sento()

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    7

    interesting error code returned from sento()

    hello everyone, im writing a multithreaded application that sends datagrams, i receive this error from errno:

    EILSEQ
    Illegal byte sequence. A wide-character code has been detected that does not correspond to a valid character, or a byte sequence does not form a valid wide-character code (defined in the ISO C standard).

    I'm confused, not sure exactly what the above error means. my code is on another machine, i can post it if someone wants, but im realy just looking for an explanation of what the above error means. If its helpful, i think it might have something to do with the struct sockaddr_in being invalid, does anyone know if that would cause this error? Thanks.
    Last edited by ufsargas; 06-22-2006 at 01:17 PM. Reason: formatting was poor

  2. #2
    Registered User
    Join Date
    Jun 2006
    Posts
    7
    with sorcery and magicks i got it working somehow, i think it was just a currupt socket address structure, because i was messing with the buffer i pass as an argument to the thread that runs the code and just moving around where things are stored and it worked. my bad. =x

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A few interesting tools...
    By Mad_guy in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-10-2009, 06:07 PM
  2. What exactly is iterator returned by .end()?
    By pheres in forum C++ Programming
    Replies: 21
    Last Post: 12-09-2008, 09:50 AM
  3. Replies: 12
    Last Post: 10-16-2008, 02:49 PM
  4. Interesting number theory problem
    By Zach L. in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 09-20-2003, 07:45 AM