Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Software - java equivalent ntohl

 
Thread Tools Search this Thread
Old 06-04-2009, 03:09 PM   #1
Default java equivalent htonl


Hi,

I am using java as client and sending data onto TCP socket to the code written in C language running on Solaris unix server. The integer data being sent as "1099" but when I print the same onto the C code on server it shows me 825243961 whereas I can see the data coming to the port correctly. The same when converted using ntohl shows the same value as 825243961.

I am not sure whats happening here.

Can you please help?

Thanks,
Shailesh


shailk

Last edited by shailk : 06-04-2009 at 04:37 PM.
shailk is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
image (jpg,bmp,gif, etc.) convert to equivalent binary representation using vb.net? archieSupremo Software 0 09-06-2009 12:20 PM
XP to Windows 7 equivalent of the 70-621 (XP -> Vista) exam? PS MCITP 1 05-13-2009 06:12 PM
equivalent function for itoa in Linux gcc compiler suse Software 0 03-06-2009 05:30 AM
DVD Verdict reviews: FULLMETAL ALCHEMIST: EQUIVALENT EXCHANGE (VOLUME 3) and more! DVD Verdict DVD Video 0 07-28-2005 09:12 AM
NEED A+ CERTIFIED OR EQUIVALENT EXPERIENCE IN SOUTH FLORIDA Happy_Life A+ Certification 0 12-12-2003 09:14 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46