02-14-2014
I cannot see your computer from here.
Please post your code.
It's sometimes possible for socket code to work in Windows if sockets are used in an extremely specific and rather limited way but more often separate code is written for each.
Last edited by Corona688; 02-14-2014 at 11:49 AM..
9 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hi
i need some help , i would like to run a GUI application on windows from unix
i dont need to see the gui just to activate it from remote .
it shoud be from CLI on the unix .
thanks
GUY (1 Reply)
Discussion started by: koreng
1 Replies
2. Linux
OK: apologies (well) in advance if this is as stupid a question as it gets.
I need to change the 'owner' on certain files and folders within my Linux web hosting account.
Unfortunately I use Windows XP and now need some kind of Windows application that can open a window within XP that lets me... (1 Reply)
Discussion started by: Boa Prinz
1 Replies
3. Solaris
hi expert,
i had do sys-unconfig for my v890 sparc and had config for eri0 network interface and hostname but after the server bring up i got this error messages :
NIS domainname is www.USSDGmdn-4.com
starting rpc services: rpcbind keyserv done.
Setting netmask of eri0 to 255.255.255.0... (5 Replies)
Discussion started by: bucci
5 Replies
4. Linux
I'd like to know if it's possible to run Windows "inside" a Linux-like OS similar to how you can run Linux in Windows, rather than dual-booting them both. As I mentioned in an earlier post, I want to do some serious parallel computing which Windows isn't even capable of at the moment... But I'd... (6 Replies)
Discussion started by: heliotos
6 Replies
5. Linux
What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies
6. UNIX for Advanced & Expert Users
I'm trying to run "SAR -i 60" under
#/var/spool/cron/crontabs/SYS
0,10,20,30,40,50 0-6 sh -c "/usr/lib/sa/sa1 60 10 &"
55 23 * 0-6 /usr/lib/sa/sa2 -i 900 -A
machine is not running above cron job under "sys" at all.
This suppose to run every minutes and all time in 24 hours. When day... (6 Replies)
Discussion started by: deal732
6 Replies
7. Red Hat
I have a virtual machine with RedHat. It has a command-line tool X that takes an input file + some control parameters, performs some processing and generates some input files. I have a Windows XP/Server 2003 box where an app Y is running. What I need to do is to control X from Y. That is, given an... (1 Reply)
Discussion started by: ilyaz
1 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I have a solris 10 machine and i am facing some strange issues.
My sys user cron is not executing.
Can any one help on this issue?
root@antsdp1b>svcs -a|grep -i cron
online 1:08:55 svc:/system/cron:default
root@antsdp1b>
the cron process is also running. but whatever i... (5 Replies)
Discussion started by: vivek.goel.piet
5 Replies
9. Shell Programming and Scripting
forgive me if i am posting this question in wrong forum.
I have a rsync script that runs on one server for rsync with another server (both linux)
.
Now I want to get control of that script from my windows 7 machine. Means I want to run that script from my windows machine whenever i want... (1 Reply)
Discussion started by: HarryReid
1 Replies
LEARN ABOUT OSX
bio_s_socket
BIO_s_socket(3) OpenSSL BIO_s_socket(3)
NAME
BIO_s_socket, BIO_new_socket - socket BIO
SYNOPSIS
#include <openssl/bio.h>
BIO_METHOD *BIO_s_socket(void);
long BIO_set_fd(BIO *b, int fd, long close_flag);
long BIO_get_fd(BIO *b, int *c);
BIO *BIO_new_socket(int sock, int close_flag);
DESCRIPTION
BIO_s_socket() returns the socket BIO method. This is a wrapper round the platform's socket routines.
BIO_read() and BIO_write() read or write the underlying socket. BIO_puts() is supported but BIO_gets() is not.
If the close flag is set then the socket is shut down and closed when the BIO is freed.
BIO_set_fd() sets the socket of BIO b to fd and the close flag to close_flag.
BIO_get_fd() places the socket in c if it is not NULL, it also returns the socket. If c is not NULL it should be of type (int *).
BIO_new_socket() returns a socket BIO using sock and close_flag.
NOTES
Socket BIOs also support any relevant functionality of file descriptor BIOs.
The reason for having separate file descriptor and socket BIOs is that on some platforms sockets are not file descriptors and use distinct
I/O routines, Windows is one such platform. Any code mixing the two will not work on all platforms.
BIO_set_fd() and BIO_get_fd() are macros.
RETURN VALUES
BIO_s_socket() returns the socket BIO method.
BIO_set_fd() always returns 1.
BIO_get_fd() returns the socket or -1 if the BIO has not been initialized.
BIO_new_socket() returns the newly allocated BIO or NULL is an error occurred.
SEE ALSO
TBA
50 2013-03-05 BIO_s_socket(3)