Re: ./EuGTK/GtkEngine.e to Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message
PeteE said...
jimcbrown said...
PeteE said...
constant  
    setsockopt_ = define_c_func(-1, "setsockopt", {C_INT, C_INT, C_INT, C_POINTER, C_INT}, C_INT) 
     
    sockets:set_option(sock, SOL_SOCKET, SO_REUSEADDR, 1) 
 
    c_func(setsockopt_, {sock[1], IPPROTO_IP, IP_ADD_MEMBERSHIP, mreq, 12}) 

Ouch. Looks like we have a bug in set_option().

I wasn't sure if the missing IP proto options were intentional or a bug. Should I file a ticket?

Yes, please!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu