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 XFREE86
ddi_dma_numwin
ddi_dma_numwin(9F) Kernel Functions for Drivers ddi_dma_numwin(9F)
NAME
ddi_dma_numwin - retrieve number of DMA windows
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_dma_numwin(ddi_dma_handle_t handle, uint_t *nwinp);
PARAMETERS
handle The DMA handle previously allocated by a call to ddi_dma_alloc_handle(9F).
nwinp Upon a successful return, nwinp will contain the number of DMA windows for this object.
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
ddi_dma_numwin() returns the number of DMA windows for a DMA object if partial resource allocation was permitted.
RETURN VALUES
ddi_dma_numwin() returns:
DDI_SUCCESS Successfully filled in the number of DMA windows.
DDI_FAILURE DMA windows are not activated.
CONTEXT
ddi_dma_numwin() can be called from user, kernel, or interrupt context.
SEE ALSO
ddi_dma_addr_bind_handle(9F), ddi_dma_alloc_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_unbind_handle(9F)
Writing Device Drivers
SunOS 5.10 29 Sep 1994 ddi_dma_numwin(9F)