Fl_Connect 1 [Stale links 2015-04-09]

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Back To Listings  ]
 
Category:Wiki/Software/WidgetsRating:
2.5 
Name:Fl_ConnectPopularity:9%
Version:1 [Stale links 2015-04-09]License:free
Author:Louis-Charles DumaisEMail:lcdumais
Home Page:http://www.genu.dynu.com (2481 visits)
Download:http://www.genu.dynu.com/programming/Fl_Connect.zip (2164 visits)
Description:

Fl_Connect is a working attempt to implement sockets in FLTK. Fl_Connect is currently working for windows but a linux version should be easy to do following the #ifdef WIN32 .

class Fl_Connect{

        #ifdef WIN32
        //for sending
        SOCKADDR_IN addr_Dest;
        SOCKET sock_Main;//use for listening too
        
        //for listening
        SOCKADDR_IN addr_Srv, addr_Cli;
        SOCKET sock_Listen;

        #endif
        
        
        char IP[20];
        short port;

public:
        bool connect(char inIP[20],short inPort);
        bool connectDNS(char *inDNS,short inPort);//TODO
        bool listen(int inPort);
        bool send(char*
inBuffer,int inSizeOfBuffer);
        char *receive(int inLenghtOfMessage);
        bool close();
        

        Fl_Connect();
        ~Fl_Connect(){};

};


Articles

Submit Article | View All ]
ID Title Last Modified Comment(s) top right image
  149Fl_Connect 1Mar 07, 20031  
 

Fl_Connect is a working attempt to implement sockets in FLTK. Fl_Connect is currently working for windows but a linux version should be easy to do following the #ifdef WIN32 .

 
bottom left image   bottom right image

Comments

Submit Comment ]

From engelsman, 14:15 Apr 09, 2015 (score=3)

The links are dead. Maybe the author can post new links if the project is still alive
Reply ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.