12-01-2003
Hi Hemant,
I dont know how socket programming is done on windows side. On Unix side I can tell you some things, you will have to carry on. You will have to go thru some books for more info
socket is a system call in unix, by which you can open a file descriptor at the system level for reading from it or writing to it. Using this file descriptor, you can communicate to other file descriptors ( as in windows !!!)
This is all about inter process communications. A process on unix can talk to a process on windows, thru the IPC tools like socket. For unix sockets I can suggest you to have a look at stevens unix programming. Also on the net you can get a lot of sample socket program
check this out
10 More Discussions You Might Find Interesting
1. IP Networking
I am trying to network an SGI running Irix 6.5 through an ethernet line to a PC running Windows 2000 (I have connected other PC's to this PC without any problems.) The PC has a DSL connection from Verizon that does not support Unix. I tried using DHCP on the SGI, but when I open a web browser on... (2 Replies)
Discussion started by: mdbanas
2 Replies
2. UNIX for Dummies Questions & Answers
I connected my windows 2k professional to sco openserver. i want to know how i should setup sco , so when i login from windows it will log me into my home dir on sco (1 Reply)
Discussion started by: scoman
1 Replies
3. Windows & DOS: Issues & Discussions
Is there a way to connect to Windows from UNIX. From Windows to UNIX, there is a putty that can be used. Is putty also possible to use to connect? (2 Replies)
Discussion started by: punyenye
2 Replies
4. UNIX for Advanced & Expert Users
Hi
Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH
I would like to know how to go abt it...am new to it.
Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies
5. IP Networking
Hello,
I have a requirement like -
I need to connect to specific Unix machine.That machine authenticates the user who is logging in. I am accessing from XP machine.
Is possible to supply the Username & Password along with Host name and port, from Windows command prompt? If so how? (13 Replies)
Discussion started by: cassiel
13 Replies
6. Solaris
Ok i have a bad slice on my solaris 10 hard drive. And that so happens to be where the data is that i need. there are 10 corrupt block that are not allowing it to mount. I tried everything fro ufsdump to fsck -Y -o f and nothing works.
so i took the drive out and plugged it into a external USB ->... (4 Replies)
Discussion started by: deaconf19
4 Replies
7. Shell Programming and Scripting
Hi,
One of the folders in UNIX is mapped with a drive on Windows.From this UNIX machine I want to connect to the Windows Server, perform some checks and view the results back on the UNIX machine.
For e.g. if I touch a file under the shared folder on UNIX, I should be able to telnet to Windows... (2 Replies)
Discussion started by: swasid
2 Replies
8. Windows & DOS: Issues & Discussions
Hi
Is there any command which we can try connecting unix from windows without using any third party tool.
Thanks in advance
KVB (9 Replies)
Discussion started by: bikky6
9 Replies
9. Virtualization and Cloud Computing
Hi ,
I have installed Centos 6.5 in my VMWare on windows 7 , My Internet is running fine on both VMWare OS and windows 7 .
When I am trying to connect from putty on my window to Vimware Linux but it does not connect.
Please help what should I do to connect the window system to Linux System (6 Replies)
Discussion started by: kaushik02018
6 Replies
10. Shell Programming and Scripting
I am trying to connect to a Windows server say 10.1.1.10. This servers has a folder named RAJ in which there are multiple .zip files. All these zip files contain a text file called XYZ.txt. Now i have to merge the content of these XYZ.txt files from each of the .zip file and create a new text... (1 Reply)
Discussion started by: swapniljadav
1 Replies
LEARN ABOUT DEBIAN
wincommand
WinCommand(1x) AfterStep X11 window manager WinCommand(1x)
NAME
WinCommand - AfterStep module for choosing and manipulating windows based on patterns
CONFIGURATION OPTIONS
DESCRIPTION
WinCommand is a command line tool which allows you to select windows based on their name and to then manipulate them in various ways.
Actions currently supported are: "center", "center jump", "iconify", "jump", "kill", "move", "resize" and "sendtodesk".
DEFAULTS
The default pattern is "", meaning all windows will be selected.
All other default-values depend on the action you would like WinCommand to take. If more than one action is specified, default-values are
set depending on the last action specified.
ACTIONS
center
Place matching windows into the center of the screen.
center jump:
Places first window that matches into the center of the screen and jumps to it.
iconify:
Iconifies matching windows.
jump:
Jumps to the first window which matches.
kill:
Kills all matching windows.
move:
Moves all matching windows to x/y. x and y are specified using the -x and -y flags.
resize:
Resize all matching windows. The two parameters width and height are specified using the -width and -height flags.
send_to_desk:
Send all matching windows to desk specified with the -new_desk flag.
OPTIONS
-all
Operate on all windows which match the given pattern. This is set by default unless the action is either "jump" or "center jump".
-alldesks
Windows on all desks will be taken into account. This is set by default if action is either "jump" or "center jump".
-desk
Windows on the whole desk will be taken into account.
-x/-y
These are required when issuing the move-command.
-width/-height
These are required whenever you want to resize windows.
Examples WinCommand -pattern term iconify
This command will iconify all terminals. Since the specified pattern is a regular expression, something like this also works:
WinCommand -pattern "(term)|(moz)" iconify
This will iconify all terminals and mozilla-browser windows.
WinCommand -pattern xmm jump
will jump to your xmms. In this situation, it's far more advisable to use GWCommand though.
It is probably not a good idea to delete windows while windows are being arranged.
3rd Berkeley Distribution AfterStep v.2.2.11 WinCommand(1x)