471,305 Members | 1,217 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

Convert to C#


I need to convert some small Java source to C#.
Can anybody help me?

================================================== ==========================================
private SocketChannel getNBConnSock(SocketAddress local, SocketAddress
remote, Selector sel) throws Exception {
SocketChannel sock = SocketChannel.open();
if (local != null) sock.socket().bind(local);
SelectionKey sockKey = sock.register(sel, SelectionKey.OP_CONNECT);
return sock;
================================================== ==========================================

Thank you
Dec 11 '05 #1
1 1320
Hi Bob,

Check the Microsoft Java Language Conversion Assistant.



Dec 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by Lauren Quantrell | last post: by
1 post views Thread by Logan X via .NET 247 | last post: by
3 posts views Thread by Convert TextBox.Text to Int32 Problem | last post: by
7 posts views Thread by patang | last post: by
4 posts views Thread by Edwin Knoppert | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.