10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i need to come up with a script that when run from the command line, it will bind to a socket, and listen for tcp connections on a certain port.
something like:
### ./connection_listener 5666
i found the following script on the web but when i run it, it complains about "accept" not being... (1 Reply)
Discussion started by: SkySmart
1 Replies
2. Shell Programming and Scripting
Hi,
I need to call an API (GetUsageDetails)from inside a shell script which takes an input argument acct_nbr.
The output of API will be like :
<usageAccum accumId="450" accumCaptn="PM_125" inclUnits="1410.00" inclUnitsUsed="744.00" shared="true" pooled="false" prorated="false"... (1 Reply)
Discussion started by: rkrish
1 Replies
3. UNIX for Dummies Questions & Answers
hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
4. IP Networking
I need clarification on whether it is okay to set socket options on a listening socket
simultaneously when it is being used in an accept() call?
Following is the scenario:-
-- Task 1 - is executing in a loop - polling a listen socket, lets call it 'fd', (whose file descriptor is global)... (2 Replies)
Discussion started by: jake24
2 Replies
5. UNIX for Dummies Questions & Answers
I have written a flash socket security file server in PHP. The basic idea is that when Flash Player connects via socket to a server, the first thing it does is connect to port 843 and send a request for a 'socket policy file' by sending the string <policy-file-request/>.
The problem I have is... (5 Replies)
Discussion started by: sneakyimp
5 Replies
6. Programming
Is there any relation between the connect() socket API and the TCP's Transmission Control Block.
Also how does connect detect that a socket is in use i.e., EADDRINUSE (1 Reply)
Discussion started by: sunaina
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime.
To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
1 more new comer with a small problem. I have a Java socket program which tries to bind to a particular socket. It works fine with windows. But in Linux, it says 'address in use'. I tried 'netstat' to find if the port is being used. But it is free. Can anyone help plz? (0 Replies)
Discussion started by: ronyantony
0 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I am using Perl program to do socket communication. My application has to use port 40001 this is a condition I can't change the port.
The execution of this script always gave an error 'Bind failure port already in use'
netstat execution gives below line:
udp 0 0 ... (5 Replies)
Discussion started by: zing_foru
5 Replies
10. UNIX for Dummies Questions & Answers
is there any system call in linux which maps to taskSpawn ( ) in VxWorks RTOS (1 Reply)
Discussion started by: Agnello
1 Replies