mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 23:46:28 -04:00
This is the shared library which allows change IP-address from which netwoking application will be performing TCP-connection. This is extremely useful when you need to control this but programs you are using have no configuration options specifying to which IP-address they should bind. PR: ports/50436 Submitted by: Alex Semenyaka <alexs@snark.ratmir.ru>
11 lines
334 B
Text
11 lines
334 B
Text
--- connect.c.old Mon May 22 21:29:23 2000
|
|
+++ connect.c Fri Mar 28 22:32:33 2003
|
|
@@ -32,7 +32,7 @@
|
|
static struct sockaddr_in tobi;
|
|
|
|
int
|
|
-connect(int s, const struct sockaddr* re, int namelen)
|
|
+connect __P((int s, const struct sockaddr *re, socklen_t namelen))
|
|
{
|
|
struct sockaddr_in nm,*remo=(struct sockaddr_in*)re;
|
|
int nml;
|