Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: How to sent binary data in socket programming ?

by bh_perl (Monk)
on Jul 15, 2013 at 01:34 UTC ( [id://1044252]=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to sent binary data in socket programming ?
in thread How to sent binary data in socket programming ?


hi...

That files contains data on mail first, anyway this is the records of the files:-
4A 42 48 42 30 30 30 34 30 30 30 30 30 30 33 30 30 31 30 30 30 30 30 3 +0 30 30 30 38 39 36 33 32 30 30 20 20 20 20 20 20 20 20 20 20 20 20 2 +0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2 +0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2 +0 20 20 20 20 20 20 20 20 20 20 20 20 20 30 32 30 37 32 37 36 33 38 3 +0 30 20 30 32 20 20 20 20 20 20 20 20 20 20 20 20 20 20 31 33 30 37 3 +1 32 31 34 34 34 31 31 30 30 30 30 33 33 20 20 20 20 20 20 20 20 4A 4 +2 48 42 30 30 31 34 30 30 30 30 30 30 32 30 30 39 30 30 30 30 30 30 3 +0 30 30 35 32 30 37 34 34 35 20 20 20 20 20 20 20 20 20 20 20 20 20 2 +0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2 +0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2 +0 20 20 20 20 20 20 20 20 20 20 20 20 39 39 00 00 00 00 00 00 00 00 0 +0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 +0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 +0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <br/> <br>This is the result after i run the script<br/> <code> DATA : 4A4248423030303430303030303033303031303030303030303030383936333 +230302020202020202020202020202020202020202020202020202020202020202020 +202020202020202020202020202020202020202020202020202020202020202020202 +020202020203032303732373633383030203032202020202020202020202020202031 +333037313231343434313130303030333320202020202020204A42484230303134303 +030303030323030393030303030303030303532303734343520202020202020202020 +202020202020202020202020202020202020202020202020202020202020202020202 +020202020202020202020202020202020202020202020202020202039390000000000 +000000000000000000000000000000000000000000000000000000000000000000000 +000000000000000000000000000000000000000000000000000000000000000000000 +00 ASCII: JBHB000400000030010000000008963200 + 02072763800 02 + 130712144411000033 JBHB001400000020090000000005207445 + 99  Connected to server [19.25.15.22] with port 1998 Sent binary data as request to 19.25.15.22 [length 344] Message from Server :

Based on the result, the recv() did not display anything. Why this is happened ? is it I am wrong ?. For your information, my connection using TCP/IP and connected to cisco router, is it different with UDP ?

I am trace the data packet using nettl command for hpux server.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1044252]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-16 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found