Sponsored Content
Top Forums Shell Programming and Scripting TCL Socket max Limit settting Post 302134651 by aju_kup on Sunday 2nd of September 2007 05:30:02 AM
Old 09-02-2007
TCL Socket max Limit settting

How to set the max limit for socket opening TCL

Thanks,
Ajay
 

9 More Discussions You Might Find Interesting

1. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

2. Shell Programming and Scripting

Creation of directoryname with Max limit

Hi, Please provide your inputs.. # define PATH_MAX 1023 /* max number of characters in a pathname (not including terminating null) */ Could you please let me know how to create directory name(or pathname) with above PATH_MAX length in korn shell scripting.. ... (9 Replies)
Discussion started by: mansa
9 Replies

3. Linux

file-max limit

Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart. Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart. Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart. Oct 31 02:37:09 FIREWALL003 kernel: srmLINUX: segfault at 00000000303a3031 rip 000000000026fe54 rsp 00000000ffbd05b8 error 4 Oct 31... (5 Replies)
Discussion started by: itik
5 Replies

4. UNIX for Advanced & Expert Users

connect problem for sctp socket (ipv6 socket) - Runtime fail Invalid Arguments

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

5. Shell Programming and Scripting

Writing in a socket trough TCL problem.

Hello everyone: I have a script that writes and read DATA in/from a socket, but i have a great problem while writing. My socket is created in this way: set connection fconfigure $connection -encoding binary -translation binary -blocking 1 And the writer procedure is this one: ... (0 Replies)
Discussion started by: trutoman
0 Replies

6. HP-UX

max limit in in setting array

hi, iam getting error when i assign a variable to an array of more that 315 character in length set -A array <variable> <variable> value is 000001 000002 and up to 000045 it is giving error as "The specified subscript cannot be greater than 1024." can any one help me to solve this (2 Replies)
Discussion started by: gomathi
2 Replies

7. IP Networking

Clarification - Setting socket options at the same time when socket is listening

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

8. Solaris

18-Mar-2012 14:25:03.209 general: error: socket: file descriptor exceeds limit (4096/4096)

I have BIND 9.8.1-P1 cache only DNS server running in Solaris 10. I have upgraded the same from 9.6.1 to 9.8.1-P1. Now i am facing "file descriptor exceeds limit (4096/4096)" error frequently on the server. Please help me on this issue! (1 Reply)
Discussion started by: sandeep.tk
1 Replies

9. Ubuntu

Max Open File Limit

Ubuntu users, I am configuring an Ubuntu 14.04 server as a load injector. I have appended the hard and soft limits to /etc/security/limits.conf for any user (apart from root): * hard nofile 65536 * soft nofile 65536 I am seeing the figure 65536 in... (5 Replies)
Discussion started by: aidylewis
5 Replies
TIX(3)							       Tix Built-In Commands							    TIX(3)

NAME
tixControl - Create and manipulate tixControl widgets SYNOPSIS
tixControl pathName ?options? SUPER-CLASS The TixControl class is derived from the TixLabelWidget class and inherits all the commands, options and subwidgets of its super-class. STANDARD OPTIONS
The Control widget supports all the standard options of a frame widget. See the options(n) manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONS [-allowempty allowEmpty] Specifies whether the Control widget should allow the empty string as a valid input. [-autorepeat autorepeat] Specifies whether the Control widget should have autorepeat behavior. If set to be "true", the value of the Control widget will be auto- matically incremented or decremented when the user holds down the mouse button over the arrow buttons. Only values "true" and "false" will be recognized. [-command command] Specifies the command to be called when the -value option of the Control widget is changed. The command will be called with one arguments -- the new value of the Control widget. [-decrcmd decrCmd] Specifies a TCL command to be called when the the user presses the down-arrow button subwidget. This command is called with one parameter -- the current -value of this Control widget. This command is to decrement this value by one step, according to its own definition of "decrement", and return the decremented value, which will be stored in the -value of this Control widget. [-disablecallback disableCallback] A boolean value indicating whether callbacks should be disabled. When set to true, the TCL command specified by the -command option is not executed when the -value of the Control wid- get changes. [-disableforeground disableForeground] The foreground color to use for of the entry subwidget when the Control widget is dis- abled. [-incrcmd incrCmd] Specifies a TCL command to be called when the the user presses the up-arrow button subwidget. This command is called with one parameter -- the current -value of this Control widget. This command is to increment this value by one step, according to its own definition of "increment", and return the incremented value, which will be stored in the -value of this Control widget. [-init- wait initwait] Specifies how long the Control widget should wait initially before it starts to automatically increment or decrement its value in the autorepeat mode. In milliseconds. [-integer integer] A Boolean value specifying whether only integer numbers are accepted. [-label label] Specifies the string to display as the label of this Control widget. [-labelside labelSide] Specifies where the label should be displayed relative to the entry subwidget. Valid options are: top, left, right, bottom, none or acrosstop. Name: max Class: Max Switch: -max Alias: -ulimit Specifies the upper limit of the value of the Control widget. When set to empty string, the Control widget has no upper limit. Name: min Class: Min Switch: -min Alias: -llimit Specifies the lower limit of the value of the Control widget.When set to empty string, the Control widget has no lower limit. [-repeatrate repeatRate] Specifies how often the value of the Control widget should be incremented or decremented when it is in the autorepeat mode. In milliseconds. [-selectmode selectMode] Specifies how the Control widget should react to <KeyPress> events. When set to "immediate", any user keyboard inputs will immediately change the -value option. When set to "normal", the user keyboard inputs will be copied to the -value option only if the <Return> key is pressed or the keyboard focus is changed. The use of the immediate mode is discouraged. For effective use of the Control widget, one should use the normal mode together with the update wid- get command (see below). [-state state] Specifies the whether the Control widget is normal or disabled. Only the values "normal" and "disabled" are recognized. [-step step] Specifies by how much the value of the Control widget should be incremented or decr- mented when the user press the arrow buttons. [-validatecmd validateCmd] Specifies a TCL command to be called when the -value of the Control widget is about to change. This command is called with one parameter -- the new -value entered by the user. This command is to validate this new value by returning a value it deems valid. [-value value] Specifies the value of the Control widget. [-variable variable] Specifies the global variable in which the value of the Control widget should be stored. The value of the Con- trol widget will be automatically updated when this variable is changed. SUBWIDGETS
Name: decr Class: Button The down arrow button. Name: entry Class: Entry The entry that shows the value of this Control widget. Name: incr Class: Button The up arrow button. Name: label Class: Label The label subwidget. DESCRIPTION
The tixControl command creates a new window (given by the pathName argument) and makes it into a Control widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the Control widget such as its cur- sor and relief. The Control widget is also known as the SpinBox widget. It is generally used to control a value. The user can adjust the value by pressing the two arrow buttons or by entering the value directly into the entry. The new value will be checked against the user-defined upper and lower limits. WIDGET COMMANDS
The tixControl command creates a new Tcl command whose name is the same as the path name of the Control widget's window. This command may be used to invoke various operations on the widget. It has the following general form: pathName option ?arg arg ...? PathName is the name of the command, which is the same as the Control widget's path name. Option and the args determine the exact behavior of the command. The following commands are possible for Control widgets: pathName cget option Returns the current value of the configuration option given by option. Option may have any of the values accepted by the tixControl command. pathName configure ?option? ?value option value ...? Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the tixControl command. pathName decr Decrements the value of the Control widget by the step specified by the -step option. pathName incr Increments the value of the Control widget by the step specified by the -step option. pathName invoke Causes the command specified by the -command option to be invoked. pathName update If the user has modified the entry using keyboard inputs, the update command will update the -value of this Control widget. When the Control widget's -selectmode option is set to "normal", one should call the update command on this widget before examining its -value option. This command has no effect in if the -selectmode option is set to "immediate". pathName subwidget name ?args? When no options are given, this command returns the pathname of the subwidget of the specified name. When options are given, the widget command of the specified subwidget will be called with these options. BINDINGS
When the user presses the up/down arrow buttons (or press the <Up> and <Down> arrow keys on the keyboard), the value of the tixControl wid- get is adjusted according to the -validatecmd, -incrcmd, -decrcmd, -step, -max and -min options. KEYWORDS
Tix(n) Tix 4.0 TIX(3)
All times are GMT -4. The time now is 12:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy