sockets Log

Commit Date  
[939ea9] by Paul Dreik Paul Dreik

added news entry regarding PKG_DEL (bug #41218)

2014-01-21 20:21:51 Tree
[2e3722] by Paul Dreik Paul Dreik

minor Makefile adjustments
* comments on compatibility
* target for creating the tar ball
* more files in the clean target

2014-01-21 20:13:34 Tree
[c4c977] by Paul Dreik Paul Dreik

added PKG_DEL statements (bug #41218)

* the remove statements are wrapped in try/catch so it works
in octave<3.8.

2014-01-21 19:50:48 Tree
[a84ea6] by Paul Dreik Paul Dreik

use --no-window-system instead of --no-gui for backwards compatibility

2014-01-13 18:41:06 Tree
[0e795b] by "Paul Dreik "Paul Dreik

minor Makefile polishing

2014-01-04 12:28:46 Tree
[c4a725] by Carn? Draug Carn? Draug

Makefile: rename PHONY 'test' to 'check' following change fro ce249800c0f4.

2014-01-04 01:18:08 Tree
[3ad20f] by John Donoghue John Donoghue

Detect Windows and add winsock lib (bug #41086)

* src/Makefile: check $OS for Windows_NT and add windock as additional lib.

2014-01-03 13:52:05 Tree
[df01ba] by Carn? Draug Carn? Draug

Merge test script into test block of source.

* src/test_octave_sockets: removed to be included as test block in
* src/ test block adapted from the test script.
* src/Makefile: adapt check target to create the necessary PKG_ADD file and
to run the tests from

2014-01-03 01:52:46 Tree
[f67eef] by Carn? Draug Carn? Draug

Fix warning due to comparison between signed and unsigned integer.

2014-01-02 05:33:13 Tree
[ece5f4] by Carn? Draug Carn? Draug find fullpath with which ("socket") to avoid warning from autoload.

2014-01-02 05:29:45 Tree
[0ca32f] by Carn? Draug Carn? Draug

Rename to

* src/ renamed to There is no function named sockets and
because oct filenames are function names, having sockets.oct was causing
trouble. We could also have the build rules build a socket.oct from
but this is cleaner.
* src/ from
* src/Makefile: update source file.

2014-01-02 05:23:56 Tree
[ce2498] by Carn? Draug Carn? Draug

Replace usage of Octave_map and drop support for Octave versions < 3.2.0.

* src/ replace the deprecated Octave_map with octave_scalar_map. The
Octave 3.0.X series is considered long gone so workarounds for it were removed.
A lot of changes, many stylistic to follow GNU and Octave coding guidelines,
and to make C++ code look less like C. Replace hard tabs wth spaces, remove
trailing whitespace, spaces after function calls, no space after () for index,
no {} brackets for single statements, use Texinfo for documentation, check
error_state rather than is* methods for input check, use print_usage for error
message, don't bother with return value after giving an error, make disconnect
return 1 or 0 based on success, use OCTAVE_LOCAL_BUFFER to avoid memory leaks,
use fortran_vec() to speed up loops, never error because of nargout - that's
always up to the user.
* src/Makefile: drop checking of version which was required to support Octave
3.0.X which is considered long gone. Rename target `test' to `check' for
similarity with Octave core.
* DESCRIPTION: adjust dependencies to >= 3.2.0. Remove line about autoload
to use whatever's default.
* NEWS: update with new dependencies and bug fixes.

2014-01-02 05:15:01 Tree
[c68ccc] by Carn? Draug Carn? Draug

Check validity of input argument SOCKET to avoid segfault (bug #41049)

* (get_socket): new function to check if input is a valid
socket number.
(Fconnect, Fdisconnect, Fsend, Frecv, Fbind, Flisten, Faccept): make use of
new get_socket function to parse input. Fixes seg fault when using an integer
without a matching socket.

2014-01-02 02:27:29 Tree
[8f326d] by Carn? Draug Carn? Draug

disconnect: check nargin to avoid crash (bug #41050)

2014-01-02 01:05:30 Tree
[b5fb23] by Mike Miller Mike Miller

maint: fix hgignore regexp pattern typos

2013-09-03 11:50:42 Tree
[97670f] by John W. Eaton John W. Eaton

use octave_scalar_map instead of deprecated Octave_map class

* (Faccept): Use octave_scalar_map instead of deprecated
Octave_map class.

2013-08-29 03:58:23 Tree
[e31996] by Carn? Draug Carn? Draug

maint: add hgignore file

2013-07-25 20:58:39 Tree
[4ff881] by pauldreik

refreshed the recv() function:
* removed type conversion by constructing the output directly
* assign output arguments also when the underlying recv() returns <=0,
so empty data is returned.
* updated the documentation string with clarification.
* bug out with error if the user has to many output arguments

Thanks to Sebastian Singer for reporting the error.

2012-07-23 20:05:33 Tree
[0487ba] by pauldreik

modifed the AF_LOCAL macro on win32 platforms, which was misspelled.
Credit to Carlo de Falco for spotting it.
Also, made it use the newer octave>3.2 variant of DEFUNX_DLD macro.
windows users of older octave versions may not be able to see the function
which is most likely not a big problem.

2012-07-03 09:56:20 Tree
[e3e558] by pauldreik

Removed unused member function is_data_available() which was undefined
Removed unused variable.

2012-06-27 20:33:49 Tree
[6c871b] by pauldreik

"* version macros check have been simplified, using word splitting
functionality from make instead of using sed. Code from Stephen Montgomery-Smith
* now uses MKOCTFILE variable instead of mkoctfile directly. Thank you Mike Miller for the reminder!

2012-06-24 21:40:15 Tree
[ca467d] by pauldreik

release version 1.0.8
Maintainer changed to Paul Dreik

2012-06-21 09:21:55 Tree
[ccb0db] by pauldreik

update of documentation strings

2012-06-21 09:12:15 Tree
[0a2c09] by pauldreik

minor change to build with gcc 4.7

2012-06-21 08:51:48 Tree
[d3110f] by carandraug

sockets: update to GPLv3+ and add copyright notice to files

2012-06-20 21:48:29 Tree
Older >

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks