On Tue, 19 Mar 2013, Christopher Faylor wrote:
http://cygwin.com/ is now available.
Would it be too much to ask that the server be dual-stacked and given an
IPv6 address? :)
Antonio Querubin
e-mail: t...@lavanauts.org
xmpp: antonioqueru...@gmail.com
--
Problem reports: http
find it simpler to just make all sockets/sockaddrs AF_INET6.
The only time you might worry about the actual AF would be on display
output. Ie. display IPv4-mapped addresses as IPv4.
Antonio Querubin
808-545-5282 x3003
e-mail/xmpp: t...@lava.net
--
Problem reports: http://cygwin.com
routing through a
V6-only network is job of the routers.
An INET6 socket should always use mapped addresses to represent IPv4
connections by design.
Antonio Querubin
808-545-5282 x3003
e-mail/xmpp: t...@lava.net
--
Problem reports: http://cygwin.com/problems.html
FAQ
should be a little easier.
Antonio Querubin
808-545-5282 x3003
e-mail/xmpp: t...@lava.net
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml
safe even with a munged up
hosts file -- and if so, should I modify the default hosts.allow shipped
with tcp_wrappers?
It's perfecty valid. FreeBSD's default /etc/hosts.allow is setup that
way so you're in good company.
Antonio Querubin
whois: AQ7-ARIN
--
Unsubscribe info: http
I've run into a problem where getsockname() doesn't work as expected.
Below is a test program where it fails under cygwin but runs on any other
Unix/Linux system. I searched the mail archives for any limitations
#include sys/types.h
#include sys/socket.h
#include netinet/in.h
#include stdio.h
On Fri, 7 Apr 2006, Reid Thompson wrote:
well,,, not 'any' other linux system...
$ ./getsockname
socket = -1
length = 16
getsockname rc = -1
returned length = 16
getsockname: Bad file descriptor
That points out an error in getting the raw socket, not in getsockname()
itself. getsockname()
On Fri, 7 Apr 2006, Dave Korn wrote:
Should have read the man page instead!
s = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
printf(socket = %d\nlength = %d\n, s, len);
rc = getsockname(s, (struct sockaddr *) sa, len);
if
you wish.
Antonio Querubin
[EMAIL PROTECTED]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
I want a program (written in C) to behave a little differently depending
on whether it's started in a cygwin window or started from a DOS/Windows
command prompt window. Is there a standard method for detecting, at
run-time, which environment a program was started in?
--
Unsubscribe info:
10 matches
Mail list logo