Displaying 4 results from an estimated 4 matches for "send_datagram".
2007 Nov 15
3
0-length datagram
...server running on port 1392, and when I execute the
following client code the server does not receive anything. However if I
change it to data="x", the server receives it just fine.
EM::run {
conn = EM::open_datagram_socket( "", 0 )
data = ""
puts "send_datagram( #{data.inspect} )"
conn.send_datagram( data, "localhost", 1392 )
}
I also tried the following from irb:
irb(main):001:0> UDPSocket.new.send( "", 0, "localhost", 1392 )
=> 0
... and the server received the 0-length datagram just fine.
I''m...
2008 Jan 04
13
Unable to delete epoll event
I occasionally get a fatal error
unable to delete epoll event: Bad file descriptor
I think the attached patch will fix it.
The patch does two things:
1) changes the error we look for from ENOENT to EBADF. It is hard to
reproduce this error, but if I change the epoll_ctl line to
epoll_ctl(epfd, EPOLL_CTL_DEL, 666, ed->GetEpollEvent());
it does return -1 with errno = EBADF on my Linux 2.6.9
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * *
This series of VMCI linux upstreaming patches include latest udpate from
VMware to address Greg's and all other's code review comments.
Summary of changes:
- Rebase our linux kernel tree from v3.5 to v3.7.
- Fix all checkpatch warnings and errors. Fix some checkpatch with -strict
errors.
This addresses Greg's comment: On 15 Nov 2012
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * *
This series of VMCI linux upstreaming patches include latest udpate from
VMware to address Greg's and all other's code review comments.
Summary of changes:
- Rebase our linux kernel tree from v3.5 to v3.7.
- Fix all checkpatch warnings and errors. Fix some checkpatch with -strict
errors.
This addresses Greg's comment: On 15 Nov 2012