Tomoyuki Sahara
|
a809d42f5a
|
remove whitespaces at the end of line.
|
2017-09-12 11:43:21 +09:00 |
|
Tomoyuki Sahara
|
15f4bdb529
|
Merge pull request #37 from udzura/fix-types
Fix type int to mrb_int
|
2017-09-04 23:55:37 +09:00 |
|
Uchio KONDO
|
5b6e4eda2a
|
Fix type int to mrb_int
- mruby's default int size is changed after: https://github.com/mruby/mruby/commit/f0f4a1088a270e339407a24ffe8be748f4764fc2
- implicit cast causes some errors
|
2017-09-04 16:33:57 +09:00 |
|
Tomoyuki Sahara
|
81a0dcdb7a
|
sizeof(optval) must be 1 for IP_MULTICAST_TTL & IP_MULTICAST_LOOP. fixes #34.
|
2017-06-13 12:13:04 +09:00 |
|
Tomoyuki Sahara
|
3dad125a1c
|
TCPSocket.new supports "local_host" and "local_service".
|
2017-02-08 19:04:11 +09:00 |
|
Tomoyuki Sahara
|
b2a0c9c6bf
|
Merge pull request #30 from rhykw/tcpserver-reuseaddr
Use TCPServer SO_REUSEADDR
|
2016-05-30 10:42:30 +09:00 |
|
rhykw
|
4f6703203b
|
TCPServer use SO_REUSEADDR if possible
|
2016-05-28 09:33:53 +09:00 |
|
rhykw
|
2a80cccf30
|
TCPServer use SO_REUSEADDR
|
2016-05-23 21:44:34 +09:00 |
|
Tomoyuki Sahara
|
18f7b45ad1
|
Merge pull request #29 from rmalizia44/patch-1
Add _WIN32_WINNT definition to Avoid Windows Compilation Errors
|
2016-01-30 22:39:20 +09:00 |
|
rmalizia44
|
be2ec608e2
|
Add _WIN32_WINNT definition to Avoid Windows Compilation Errors
the line #define _WIN32_WINNT 0x0501 will cause ws2tcpip.h to implement the missing functions freeaddrinfo, getaddrinfo and getnameinfo on windows
|
2016-01-28 03:28:05 -02:00 |
|
Tomoyuki Sahara
|
c165e50193
|
Merge pull request #28 from zzak/port-ntop-pton-win32
Port inet_ntop and inet_pton for WIN32
|
2016-01-18 16:12:35 +09:00 |
|
Tomoyuki Sahara
|
a25ec0a749
|
Merge pull request #27 from zzak/fix-udpsock-warning
Fix warning: variable 'udpsock' set but not used
|
2016-01-18 16:09:55 +09:00 |
|
Zachary Scott
|
bdc118304c
|
Port inet_ntop and inet_pton for WIN32
Without these functions, compilation fails on MinGW
|
2016-01-18 15:34:26 +09:00 |
|
Zachary Scott
|
c8a2c636e0
|
Fix warning: variable 'udpsock' set but not used
|
2016-01-18 15:27:32 +09:00 |
|
Tomoyuki Sahara
|
625995424c
|
To run test, we need "conf.enable_test" in build_config.rb.
|
2015-09-08 13:25:05 +09:00 |
|
Tomoyuki Sahara
|
f3016752bd
|
build in container-based environment.
|
2015-09-08 13:23:46 +09:00 |
|
Tomoyuki Sahara
|
ecd7ef5924
|
Revert "try to fix failure on travis."
This reverts commit 02daa2509d.
|
2015-09-08 11:57:08 +09:00 |
|
Tomoyuki Sahara
|
02daa2509d
|
try to fix failure on travis.
|
2015-09-08 10:44:08 +09:00 |
|
Tomoyuki Sahara
|
5323498033
|
Merge pull request #23 from expeditiousRubyist/master
Changed Windows IO overrides to use sysread and syswrite instead
|
2015-08-10 10:36:14 +09:00 |
|
unknown
|
c43a08314e
|
Changed IO overrides to use sysread and syswrite instead of read and write
|
2015-08-03 04:12:10 -07:00 |
|
Tomoyuki Sahara
|
8527c78fb5
|
Merge pull request #22 from Asmod4n/master
added SO_NOSIGPIPE
|
2015-07-28 09:00:31 +09:00 |
|
Asmod4n
|
2929c629d4
|
added SO_NOSIGPIPE
|
2015-07-27 18:42:22 +02:00 |
|
Tomoyuki Sahara
|
de60400c64
|
Merge pull request #21 from expeditiousRubyist/master
Added functioning read for Win32
|
2015-07-25 20:09:20 +09:00 |
|
Rubyist
|
f80a4fd0e8
|
Added functioning read for Win32
|
2015-07-25 00:24:31 -07:00 |
|
Tomoyuki Sahara
|
bfb9cf7922
|
Merge pull request #20 from expeditiousRubyist/master
Win32 Port
|
2015-07-22 09:35:39 +09:00 |
|
Rubyist
|
4ab922044d
|
Removed unnecessary/incorrect use of sizeof(int) and corrected more
improper usages of mrb_sys_fail
|
2015-07-21 15:56:27 -07:00 |
|
Rubyist
|
7ee9ab89f9
|
Changed some uses of mrb_sys_fail to instead use mrb_raise where
appropriate
|
2015-07-21 03:37:28 -07:00 |
|
Rubyist
|
a426f0e2b5
|
Overrided close and write to work on Win32 platforms
|
2015-07-18 23:22:57 -07:00 |
|
Rubyist
|
752f7c1526
|
Minimal semi-working compile on Windows platforms.
|
2015-07-17 23:45:02 -07:00 |
|
Rubyist
|
7d8cbf1a9c
|
Added Winsock 2 to list of libraries to use when building for Windows
targets
|
2015-07-17 23:03:34 -07:00 |
|
Tomoyuki Sahara
|
dacb8b626b
|
failed to remove temporary files!
|
2015-05-20 11:38:03 +09:00 |
|
Tomoyuki Sahara
|
1629e86063
|
add IPv6 constants defined in RFC3493.
|
2015-02-13 11:35:36 +09:00 |
|
Tomoyuki Sahara
|
e4006cb53a
|
Socket::Option requires iij/mruby-pack.
|
2014-12-26 16:12:41 +09:00 |
|
Tomoyuki Sahara
|
0d05a22602
|
don't call undefined method. fixes #15.
|
2014-12-26 16:00:50 +09:00 |
|
Tomoyuki Sahara
|
7b17158f88
|
remove unused variables.
|
2014-12-26 13:36:11 +09:00 |
|
Tomoyuki Sahara
|
a09858af61
|
syscalls may return sockaddr shorter than sizeof(struct sockaddr) on Linux.
|
2014-12-26 13:27:39 +09:00 |
|
Tomoyuki Sahara
|
a960a6f931
|
failed to add...
|
2014-12-26 11:19:53 +09:00 |
|
Tomoyuki Sahara
|
3a22166c67
|
debug UNIXSocket and UNIXServer.
|
2014-12-26 11:16:03 +09:00 |
|
Tomoyuki Sahara
|
723db886e1
|
add Socket::Option#inspect
without this, mirb dies.
https://github.com/mruby/mruby/pull/2666
|
2014-12-12 12:38:43 +09:00 |
|
Tomoyuki Sahara
|
093f4e2cff
|
mrb_voidp (and other macros) has gone.
|
2014-07-09 12:24:50 +09:00 |
|
Tomoyuki Sahara
|
91c285fcfe
|
regen.
|
2014-07-02 09:12:27 +09:00 |
|
Tomoyuki Sahara
|
04097348e8
|
more TCP options (for NetBSD).
|
2014-07-02 09:12:04 +09:00 |
|
Tomoyuki Sahara
|
baa40ef2b1
|
sort.
|
2014-07-02 09:09:58 +09:00 |
|
Tomoyuki Sahara
|
9c3c267bef
|
Merge pull request #14 from dreamedge/add_tcp_constants
Add TCP_* constants included in "netinet/tcp.h".
|
2014-07-02 09:08:47 +09:00 |
|
dreamedge
|
f3c71cf5da
|
Add TCP_* constants included in "netinet/tcp.h".
ex: TCP_NODELAY, TCP_CORK, ...
|
2014-07-02 00:30:10 +09:00 |
|
Tomoyuki Sahara
|
376af5bac3
|
re-implement TCPServer.accept. fixes #12.
|
2014-06-17 15:41:42 +09:00 |
|
Tomoyuki Sahara
|
cb84ce30e7
|
no longer used.
|
2014-06-10 09:54:23 +09:00 |
|
Tomoyuki Sahara
|
1d987d2fcd
|
Merge pull request #9 from schmurfy/solaris
OpenSolaris/Illumos defines a "sun" constant...
|
2014-04-11 05:50:18 +09:00 |
|
Julien Ammous
|
9850e6a9d0
|
OpenSolaris/Illumos defines a "sun" constant...
|
2014-04-10 19:32:05 +02:00 |
|
Akira Yumiyama
|
572b404935
|
Update .travis.yml
|
2014-04-04 11:32:42 +09:00 |
|