08-18-2006
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello, earlier tonight I was installing BETA version of Mandrake Linux 9.0 and I realised I needed to partition my drive. I tried making the partition within mandrake but ther wasnt an option within the mandrake setup. So i go into my WindowsXP and do the disk management option but there want a... (5 Replies)
Discussion started by: xcaliber
5 Replies
2. Programming
Hello,
I actually try to make client-server program.
I'm using SCO OpenServer Release 5.0.0 and when I try to compile my code (by TELNET) I've got this error :
I'm just using this simple code :
and I get the same error if I use :
If someone can help me,
Thanks (2 Replies)
Discussion started by: soshell
2 Replies
3. 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
4. Programming
Hi all,
On the server side, one socket is used for listening, the others are used for communicating with the client.
My question is: if i want to set option for socket, which socket should be set on?
If either can be set, what's the different?
Again, what's the different if set option... (1 Reply)
Discussion started by: blademan100
1 Replies
5. Shell Programming and Scripting
Dear Guyz:)
I have 2 different input files like this. I would like to pick the values or letters from the inputfile2 based on inputfile1 keys (A,F,N,X,Z).
I have done similar task by using awk but in that case the inputfiles are similar like in inputfile2 (all keys in 1st column and values in... (16 Replies)
Discussion started by: repinementer
16 Replies
6. 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
7. Programming
Dear Experts,
i am compiling my code in suse 4.1 which is compiling fine,
but at runtime it is showing me for socket programming error no 88
as i searched in errno.h it is telling me socket operation on non socket,
what is the meaning of this , how to deal with this error , please... (1 Reply)
Discussion started by: vin_pll
1 Replies
8. 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
9. Shell Programming and Scripting
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- I am trying to compare the values of Column1 of File1 with Column1 of File2. If a match is found, print the corresponding value from Column2 of File1 in Column5 of File2.
- I tried to modify and use... (10 Replies)
Discussion started by: Santoshbn
10 Replies
10. Shell Programming and Scripting
Hello All,
I have a below data in a .csv file where all rows where col1 is A, col2 is odd numbers, similarly even numbers for all rows where col1 is B.
Note that my data has some other columns(not shown here) too (around 100) after col2.
Tool,Data
A,1
A,3
A,5
....
so on
B,2
B,4
.... ... (4 Replies)
Discussion started by: ks_reddy
4 Replies
LEARN ABOUT SUSE
receiver
transfer::receiver(n) Data transfer facilities transfer::receiver(n)
__________________________________________________________________________________________________________________________________________________
NAME
transfer::receiver - Data source
SYNOPSIS
package require Tcl 8.4
package require snit ?1.0?
package require transfer::data::destination ?0.1?
package require transfer::connect ?0.1?
package require transfer::receiver ?0.1?
transfer::receiver object ?options...?
object destroy
object start
object busy
_________________________________________________________________
DESCRIPTION
This package pulls data destinations and connection setup together into a combined object for the reception of information coming in over a
socket. These objects understand all the options from objects created by the packages transfer::data::destination and transfer::connect.
API
transfer::receiver object ?options...?
This command creates and configures a new receiver object. The fully qualified name of the object command is returned as the result
of the command.
See the packages transfer::data::destination and transfer::connect for the main options recognized. Here we describe only the
options which go beyond the referenced set.
-command cmdprefix
This option specifies the command to invoke when the transmission of the information in the data source has been completed.
The arguments given to this command are the same as given to the completion callback of method receive, see package trans-
fer::data::destination.
object destroy
This method destroys the object. Doing so while a reception is on progress will cause errors later on, when the reception completes
and tries to access the now missing data structures of the destroyed object.
object start
This method initiates the data reception, setting up the connection first and then copying the received information into the desti-
nation. The method will throw an error if a reception is already/still in progress. I.e. it is not possible to run two receptions in
parallel, only in sequence. Errors will also be thrown if the configuration of the data destination is invalid, or if no completion
callback was specified. The result returned by the method the same as the result of method connect, see package transfer::connect.
object busy
This method returns a boolean value telling us whether a reception is in progress (True), or not (False).
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category transfer
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
channel, copy, data destination, receiver, transfer
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
transfer 0.1 transfer::receiver(n)