08-08-2006
command line socket read utility
HI
I have a messaging s/w daemon(TIBCO rvrd) provided by vendor which will accept connections from various clients and routes messages to the destinations. In order to route it internally uses two ports(one tcp adn one udp).
I want to know on which port(tcp/udp) it is transmitting the actual message.
Is there any command line utility to listen on a given port.
Thanks in advance.
9 More Discussions You Might Find Interesting
1. Programming
I'm writing a monitoring application. I'd like to periodically get the information provided by the 'top' command line utility from within my code and write the output of 'top' to a file. Wondering if anyone has already done something like this.
Doing
system("top > someFile");
does not create... (6 Replies)
Discussion started by: antoniomorandi
6 Replies
2. Linux
Hi,
What else is the dot used beside relative filepaths in bash? Is it a shell utility as well?
No man entry for dot (.)... (3 Replies)
Discussion started by: varelg
3 Replies
3. Programming
Why does this socket function only read the first 1440 chars of the stream. Why not the whole stream ? I checked it with gdm and valgrind and everything seems correct...
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include... (3 Replies)
Discussion started by: cyler
3 Replies
4. Shell Programming and Scripting
I am using the while-loop to read a file.
The file has lines with null-terminated strings (words, actually.)
What I have by that reading - just a first word up to '\0'!
I need to have whole string up to 'new line' - (LF, 10#10, 16#A)
What I am doing wrong?
#make file 'grb' with... (6 Replies)
Discussion started by: alex_5161
6 Replies
5. Shell Programming and Scripting
To read/write to a DB from Java or Perl, you usually have to install/reference several drivers and write a whole bunch of boilerplate DB access code.
I'm curious if someone has written a command line utility for Unix/Linux for simple database access for the major providers, something like:
... (3 Replies)
Discussion started by: furashgf
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Using command-line utility "ftp or sftp", I want to transfer files across Windows and UNIX.
Can you please tell me from where I need to connect to ftp and how do I specify the hostname, credentials and how do I get and put files between DOS and UNIX?
Please provide me as much... (10 Replies)
Discussion started by: Dev_Dev
10 Replies
7. Shell Programming and Scripting
Hi ALL,
I have a requirement like this.
1.GET ALL TABLE NAME (just table name) keep in file
2.Read line by line and get the count of table from tablename files.
tablename detail has a sql statement "db2 select tabname from syscat.tables" (1 Reply)
Discussion started by: netdbaind
1 Replies
8. Shell Programming and Scripting
Hi Everyone!
I am facing an issue in running a command line utility from the CRON.
This utility displays IPC statistics on UNIX message queues: The "queue name" and the "count" of messages in the queue.
When running this utility from prompt, it will provide an output on the screen, like the... (4 Replies)
Discussion started by: vai_sh
4 Replies
9. Shell Programming and Scripting
Hi,
I have some 2000 names in a table like below.
Java
Oracle/SQL
ANSI SQL
SQL,DWH,DB
DB&Java
And by using for loop in my code i am able to get a single word but if there is any special character or space then it is considering as a next line.
I have to execute the below queries in... (10 Replies)
Discussion started by: Samah
10 Replies
LEARN ABOUT DEBIAN
jack.udp
JACK.UDP(1) JACK.UDP(1)
NAME
jack.udp - JACK UDP Transport Client
SYNOPSIS
jack.udp [options] send|recv
OPTIONS
-b : Set the ring buffer size in frames (default=4096). -c : Set the client name (default=jack.udp-PID). -n : Set the number of channels,
and therefore the number of JACK ports (default=2). -p : Set the port number (default=57160). -r : The remote host name, for use in send
mode (default="127.0.0.1").
DESCRIPTION
jack.udp is a UDP audio transport mechansim for JACK. The send mode reads signals from a set of JACK input ports and sends UDP packets to
the indicated port at the indicated host at a rate determined by the local JACK daemon. The recv mode reads incoming packets at the indi-
cated port and writes the incoming data to a set of JACK output ports at a rate that is determined by the local JACK daemon.
This transport mechanism is unreliable. Both send and recv clients will report buffer overflow and underflow occurences, and recv clients
will report dropped and out-of-order packets, and shutdown on channel mismatch packets. In practice this mechanism can be made highly reli-
able over local networks.
jack.udp implements no connection logic, use jack.plumbing(1) instead.
EXAMPLE
192.0.0.1:~$ jack.udp -r 192.0.0.2 send
192.0.0.2:~$ jack.udp recv
AUTHOR
Rohan Drape http://slavepianos.org/rd/
SEE ALSO
jackd(1)
AUTHOR
Rohan Drape <rd@slavepianos.org>
Author.
01/10/2012 JACK.UDP(1)