[email protected] wrote: > > Bug report for Octave 3.2.2 configured for i686-pc-mingw32 > > Description: > ----------- > > I have installed Octave with sockets package and run simple script for > testing sockets. I get the following error: > > error: `AF_INET' undefined near line 10 column 17 > error: evaluating argument list element number 1 > error: evaluating argument list element number 1 > error: called from: > error: simpletest1.m at line 10, column 8 > > Repeat-By: > --------- > > The content of simpletest1.m file: > > clear all > close all > > > page_screen_output(0); > fail = 0; > > # Create the sockets > ## Server socket > server = socket(AF_INET, SOCK_STREAM, 0); > if ( server < 0 ) > ++fail; > % return > end >
I'm not an expert on the sockets topic, but you did indeed not define the variable AF_INET in your simpletest1.m script, so you are getting an "undefined" error. What value is AF_INET supposed to hold? benjamin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
