From: Mark H. <ma...@os...> - 2004-05-19 15:48:32
|
On Wed, 2004-05-19 at 08:23, Nick Yin wrote: > Hi, Jon and Mark > > In fact i have tested all kinds of socket type, including SOCK_STREAM, > SOCK_SEQPACKET, SOCK_RDM and SOCK_DGRAM, and two connection styles ( > connection-based, connectionless). The tests all failed. Whichever i using > sendto or send to send big message ( > 66000 bytes), they always return -1 > and the errno will be 22 ( that is, "Invalid argument"). > > And i also tested the big size message using TCP/IP protocol, it works well. > > Would you like to give me some suggestion to fix this bug? I'd put some debug printk in send_stream() and see where the function is exiting with the error. Mark. -- Mark Haverkamp <ma...@os...> |