Sockets: Difference between revisions
Content added Content deleted
m (Unicon/Icon consistency 2) |
No edit summary |
||
Line 308: | Line 308: | ||
=={{header|IDL}}== |
=={{header|IDL}}== |
||
<tt> |
|||
<lang idl>socket, unit, 'localhost',256,/get_lun |
<lang idl>socket, unit, 'localhost',256,/get_lun |
||
printf,unit,"hello socket world" |
printf,unit,"hello socket world" |
||
close, unit</lang> |
close, unit</lang> |
||
</tt> |
|||
"Well-known" port numbers (under 1024 -- such as 256) can also be specified by name (in this case 'RAP'). |
"Well-known" port numbers (under 1024 -- such as 256) can also be specified by name (in this case 'RAP'). |