forked from eventmachine/eventmachine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated function signature for sendDatagram to accept a byte[] for data instead of a String. this matches the behavior of the sendData() function for TCP and prevents mangling of your packets due to UTF-safety problems. * updated send_datagram in jeventmachine.rb to call .to_java_bytes on data for compatibility with above.
- Loading branch information
cturner
committed
Feb 25, 2011
1 parent
89c88eb
commit 8986927
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters