David, 1024 and below are considered "well known" ports and are reserved for things like telnet, ftp, http, etc.
You need to be careful assigning private ports so you don't tramp on other assignments. netstat will show you your current assignments. Don Robinson ________________________________ From: Dan McGrath <dmc...@imb.com.au> To: U2 Users List <u2-users@listserver.u2ug.org> Sent: Mon, January 10, 2011 10:25:27 PM Subject: Re: [U2] Sockets problem That is correct. If you are in the Unix/Linux world and you need to bind to ports below 1024, you need to run/start as root, then (generally you should) drop the rights of root once you have done it. -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Drew William Henderson Sent: Tuesday, 11 January 2011 2:14 PM To: U2 Users List Subject: Re: [U2] Sockets problem It's been a couple years, but i believe ports in the lower range can only be linked to root processes. Drew -----Original Message----- From: Norman, David (Health) <david.nor...@health.sa.gov.au> Sent: Monday, January 10, 2011 9:55 PM To: 'u2-users@listserver.u2ug.org' <u2-users@listserver.u2ug.org> Subject: [U2] Sockets problem We are trying to establish a Server Side Socket Connection using initServerSocket (UniVerse 10.0.16 HP-UX 11) for a third party system to connect. We are finding that using a port less than 1024 results in an error 34 "SCK-EACCESS Attempt to connect datagram socket to broadcast address failed because setSocketOption Broadcast is not enabled". Ports from 1024 upwards don't have this error. Anyone have an idea what's going on ? Thanks, ======================== David Norman Senior Software Engineer - SA Ambulance Service ICT Services SA Health Government of South Australia Box 3, GPO Adelaide, South Australia 5001 *+61 8 8274 0384 * fax +61 8 8271 4844 * david.nor...@health.sa.gov.au This e-mail may contain confidential information, which also may be legally privileged. Only the intended recipient(s) may access, use, distribute or copy this e-mail. If this e-mail is received in error, please inform the sender by return e-mail and delete the original. If there are doubts about the validity of this message, please contact the sender by telephone. It is the recipient's responsibility to check the e-mail and any attached files for viruses. _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ########################################################################################### The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files with the permission of IMB. ########################################################################################### _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users