Home
last modified time | relevance | path

Searched refs:bind_port (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/dports/net/jgroups/jgroups-2.12.0/src/org/jgroups/protocols/
H A DBPING.java38 protected int bind_port=8555; field in BPING
56 return bind_port; in getBindPort()
59 public void setBindPort(int bind_port) { in setBindPort() argument
60 this.bind_port=bind_port; in setBindPort()
69 log.debug("listening on " + bind_port); in init()
73 for(int i=bind_port; i < bind_port+port_range; i++) { in start()
79 if(i >= bind_port+port_range-1) in start()
80 …ow new RuntimeException("failed to open a port in range [" + bind_port + " - " + (bind_port+port_r… in start()
120 for(int i=bind_port; i < bind_port+port_range; i++) { in sendMcastDiscoveryRequest()
/dports/devel/pecl-swoole/swoole-4.8.5/tests/swoole_http_client_coro/
H A Dbind_address.phpt31 'bind_port' => $bindPort,
33 … $client->post('/validaddress', ['bind_address' => $bindAddress, 'bind_port' => $bindPort]);
45 'bind_port' => $bindPort,
59 'bind_port' => -1,
61 … $client->post('/invalidport', ['bind_address' => $bindAddress, 'bind_port' => $bindPort]);
86 'bind_port' => $bindPort,
96 'bind_port' => $bindPort,
115 Assert::eq($request->server['remote_port'], $request->post['bind_port']);
120 Assert::eq($request->server['remote_port'], $request->post['bind_port']);
123 Assert::eq($request->post['bind_port'], '-1');
[all …]
/dports/net/py-port-for/port-for-0.4/port_for/
H A Dtests.py79 port = self.store.bind_port('foo')
82 self.assertEqual(port, self.store.bind_port('foo'))
84 port2 = self.store.bind_port('aar')
93 port = self.store.bind_port('foo')
94 self.assertRaises(port_for.PortForException, self.store.bind_port, 'baz', port)
98 port = self.store.bind_port('foo')
101 self.assertRaises(port_for.PortForException, self.store.bind_port, 'foo', another_port)
105 port = self.store.bind_port('foo', 80)
112 res_port = self.store.bind_port('foo', port)
/dports/devel/p5-POE-Stage/POE-Stage-0.060/examples/
H A Dudp-peer.perl29 bind_port => $arg_bind_port,
56 my $bind_port = 8675;
58 print "You need a udp client like netcat: nc -u localhost $bind_port\n";
59 App->new()->run( bind_port => $bind_port );
/dports/devel/py-nose2/nose2-0.10.0/nose2/tests/unit/
H A Dtest_mp_plugin.py41 self.assertEqual((self.plugin.bind_host, self.plugin.bind_port),
44 self.assertEqual((self.plugin.bind_host, self.plugin.bind_port),
47 self.assertEqual((self.plugin.bind_host, self.plugin.bind_port),
51 self.assertEqual((self.plugin.bind_host, self.plugin.bind_port),
54 self.assertEqual((self.plugin.bind_host, self.plugin.bind_port),
57 self.assertEqual((self.plugin.bind_host, self.plugin.bind_port),
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/networkmanager/admin/impl/
H A DNetworkAdminTCPTester.java53 int bind_port ) in testOutbound() argument
60 return( VersionCheckClient.getSingleton().getExternalIpAddressTCP( bind_ip, bind_port, false )); in testOutbound()
71 socket.bind( new InetSocketAddress( bind_ip, bind_port )); in testOutbound()
73 }else if ( bind_port != 0 ){ in testOutbound()
75 socket.bind( new InetSocketAddress( bind_port )); in testOutbound()
/dports/net/nylon/nylon-1.21/src/
H A Dnylon.c72 *mirror_addr, *bind_port; in main() local
85 bind_port = mirror_addr = connect_ifip = bind_ifip = NULL; in main()
101 CONF_SAVE(bind_port, conf_get_str("Server", "Port")); in main()
142 bind_port = optarg; in main()
165 if (bind_port == NULL && mirror_addr == NULL) in main()
166 bind_port = "1080"; in main()
184 servsock = net_setup(bind_ifip, connect_ifip, bind_port, mirror_addr, in main()
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/modules/afsocket/
H A Dafinet-source.c42 if (self->bind_port) in afinet_sd_set_localport()
43 g_free(self->bind_port); in afinet_sd_set_localport()
44 self->bind_port = g_strdup(service); in afinet_sd_set_localport()
81 if (!self->bind_port) in afinet_sd_setup_addresses()
93 …_port(self->super.bind_addr, afinet_lookup_service(self->super.transport_mapper, self->bind_port)); in afinet_sd_setup_addresses()
115 g_free(self->bind_port); in afinet_sd_free()
/dports/devel/p5-POE/POE-1.368/lib/POE/Wheel/
H A DSocketFactory.pm734 my $bind_port = (defined $params{BindPort}) ? $params{BindPort} : 0;
735 if ($bind_port =~ /[^0-9]/) {
736 $bind_port = getservbyname($bind_port, $protocol_name);
737 unless (defined $bind_port) {
747 $bind_address = pack_sockaddr_in($bind_port, $bind_address);
775 my $bind_port = (defined $params{BindPort}) ? $params{BindPort} : 0;
776 if ($bind_port =~ /[^0-9]/) {
777 $bind_port = getservbyname($bind_port, $protocol_name);
778 unless (defined $bind_port) {
798 $bind_address, $bind_port, {
/dports/www/erlang-webmachine/webmachine-1.10.9/src/
H A Dwebmachine_dispatcher.erl233 case bind_port(PortSpec, Port, []) of
254 bind_port(Port, Port, Bindings) -> {ok, Bindings}; function
255 bind_port(?MATCH_ALL, _Port, Bindings) -> {ok, Bindings}; function
258 bind_port(_, _, _) -> fail. function
380 ?assertEqual({ok, []}, bind_port(80, 80, [])),
382 bind_port(1234, 1234, [{foo, bar}])).
385 ?assertEqual({ok, []}, bind_port('*', 80, [])),
387 bind_port('*', 1234, [{foo, bar}])).
390 ?assertEqual({ok, [{foo, 80}]}, bind_port(foo, 80, [])),
391 {ok, WholeBinding} = bind_port(foo, 1234, [{bar, baz}]),
[all …]
/dports/net-mgmt/omping/omping-0.0.4/
H A Dsockfunc.c104 int receive_timestamp, int force_recvttl, int sndbuf_size, int rcvbuf_size, uint16_t bind_port) in sf_create_multicast_socket() argument
142 if (bind_port != 0) { in sf_create_multicast_socket()
143 af_sa_set_port(AF_CAST_SA(&bind_addr), bind_port); in sf_create_multicast_socket()
229 uint16_t *bind_port) in sf_create_unicast_socket() argument
271 if (bind_port != NULL) { in sf_create_unicast_socket()
272 af_sa_set_port(AF_CAST_SA(&bind_addr), *bind_port); in sf_create_unicast_socket()
279 if (bind_port != NULL && *bind_port == 0) { in sf_create_unicast_socket()
286 *bind_port = af_sa_port(AF_CAST_SA(&bind_addr)); in sf_create_unicast_socket()
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/esl/ruby/
H A Dserver3.rb14 bind_port = 8086
21 sockaddr = Socket.sockaddr_in(bind_port, bind_address)
24 puts "Listening for connections on #{bind_address}:#{bind_port}"
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/net/
H A Dreuseaddr_ports_exhausted.c54 int bind_port(struct __test_metadata *_metadata, int reuseaddr, int reuseport) in bind_port() function
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/net/
H A Dreuseaddr_ports_exhausted.c54 int bind_port(struct __test_metadata *_metadata, int reuseaddr, int reuseport) in bind_port() function
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/net/
H A Dreuseaddr_ports_exhausted.c54 int bind_port(struct __test_metadata *_metadata, int reuseaddr, int reuseport) in bind_port() function
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
/dports/net/mptsd/mptsd-1.1/libfuncs/
H A Dserver.c40 void init_server_socket(char *bind_addr, int bind_port, struct sockaddr_in *server, int *server_soc… in init_server_socket() argument
70 fprintf(stderr, "Binding to %s:%i\t", binded, bind_port); in init_server_socket()
75 server->sin_port = htons(bind_port); in init_server_socket()
/dports/sysutils/py-glances/glances-3.1.4/glances/
H A Dserver.py105 def __init__(self, bind_address, bind_port=61209, argument
109 self.bind_port = bind_port
111 self.address_family = socket.getaddrinfo(bind_address, bind_port)[0][0]
116 super(GlancesXMLRPCServer, self).__init__((bind_address, bind_port), requestHandler)
/dports/security/dropbear/dropbear-2020.81/
H A Dnetio.c22 char *bind_address, *bind_port; member
35 m_free(c->bind_port); in remove_connect()
73 if (c->bind_address || c->bind_port) { in connect_try_next()
82 err = getaddrinfo(c->bind_address, c->bind_port, &hints, &bindaddr); in connect_try_next()
88 c->bind_address, c->bind_port, gai_strerror(err)); in connect_try_next()
104 c->bind_address, c->bind_port, strerror(keep_errno)); in connect_try_next()
176 const char* bind_address, const char* bind_port) in connect_remote() argument
210 if (bind_port) { in connect_remote()
211 c->bind_port = m_strdup(bind_port); in connect_remote()
/dports/dns/dnswall/google-dnswall-164174a/src/
H A Ddnswall.c72 int bind_port = 0; in main() local
90 bind_port = atoi(optarg); in main()
99 bind_port == 0 || forward_port == 0) { in main()
114 addr.sin_port = htons(bind_port); in main()
/dports/security/snort3/snort3-3.1.19.0/tools/snort2lua/helpers/
H A Dconverter.h78 { bind_port = val; } in set_bind_port()
81 { return bind_port; } in get_bind_port()
142 static bool bind_port; variable
/dports/net-p2p/uhub/uhub-a8ee6e7/tools/
H A Duhub-nmdc-redirector.py19 bind_port = 1411 variable
28 server = SocketServer.TCPServer((bind_addr, bind_port), NmdcRedirector)
/dports/lang/perl5.34/perl-5.34.0/t/io/
H A Dsocket.t69 my ($bind_port) = unpack_sockaddr_in($bind_name);
71 print "# port $bind_port\n";
164 my ($bind_port) = unpack_sockaddr_in($bind_name);
166 print "# port $bind_port\n";
/dports/lang/perl5.30/perl-5.30.3/t/io/
H A Dsocket.t69 my ($bind_port) = unpack_sockaddr_in($bind_name);
71 print "# port $bind_port\n";
164 my ($bind_port) = unpack_sockaddr_in($bind_name);
166 print "# port $bind_port\n";
/dports/lang/perl5.32/perl-5.32.1/t/io/
H A Dsocket.t69 my ($bind_port) = unpack_sockaddr_in($bind_name);
71 print "# port $bind_port\n";
164 my ($bind_port) = unpack_sockaddr_in($bind_name);
166 print "# port $bind_port\n";
/dports/net/guacamole-server/guacamole-server-1.3.0/src/guacd/
H A Dconf-file.c58 free(config->bind_port); in guacd_conf_callback()
59 config->bind_port = strdup(value); in guacd_conf_callback()
180 conf->bind_port = strdup("4822"); in guacd_conf_load()

12345678910>>...27