Questions tagged [liblacewing]
8 questions
                    
                    6
                    
            votes
                
                2 answers
            
        Making a C style callback object oriented?
I'm using a library that has callbacks like this:
void onReceive (Lacewing::Server &Server, Lacewing::Server::Client &Client,
                char * Data, int Size) {
  /* callback body */
}
Server.onReceive (onReceive); /* to register the handler…
        
        jmasterx
        
- 52,639
 - 96
 - 311
 - 557
 
                    1
                    
            vote
                
                1 answer
            
        HOW TO usb Lacewing::Client TO ReceiveEx Data?
Lacewing::EventPump pump;
        Lacewing::Client* client = new Lacewing::Client(pump);
        client->Tag = this;
        client->onReceive(onReceiveEx);
        client->onConnect(onConnectEx);
        Lacewing::Address…
        
        honghong
        
- 11
 - 1
 
                    1
                    
            vote
                
                3 answers
            
        Does this networking library work on iOS?
I want to use this library for cross platform networking.
http://lacewing-project.org/
It works with OSX, Linux, Windows and has specific code for Android. What I do not know is if it will work (as a client) on iOS. (meaning I will not host a server…
        
        jmasterx
        
- 52,639
 - 96
 - 311
 - 557
 
                    1
                    
            vote
                
                1 answer
            
        Secure Server not working
The Lacewing library is supposed to support hosting a secure server.
It says if the certificate loads correctly, it should be secure. However, I'm hosting it and it says the certificate successfully loaded but when I send a message from client to…
        
        jmasterx
        
- 52,639
 - 96
 - 311
 - 557
 
                    1
                    
            vote
                
                1 answer
            
        Adding encryption to a TCP Stream?
I'm using a TCP Client Server Library called Lacewing.
http://lacewing-project.org/docs/
What I noticed is that messages I send and receive are in plain text. Is there a way to encrypt / decrypt the messages easily given that I use TCP? How could I…
        
        jmasterx
        
- 52,639
 - 96
 - 311
 - 557
 
                    0
                    
            votes
                
                1 answer
            
        How to use lacewing project
I am a newbie to C++. I want to use, lacewing-project.org in my C++ project. I read the documentation on how to build it and successfully did it using both DLL - Release and Static Library - Release configurations.
Now I don't know how to use this…
        
        Jayarathina Madharasan
        
- 240
 - 3
 - 17
 
                    0
                    
            votes
                
                1 answer
            
        Lacewing headers issue
I cannot resolve the Lacewing headers order. The first message to get send is as follows:
0
0
11 //lenght
0
..
while the Name set request is:
0
4 // lenght
1 // should be the type according to spec (1 for name setting request)
..
The lenght is…
        
        John V
        
- 4,855
 - 15
 - 39
 - 63
 
                    0
                    
            votes
                
                0 answers
            
        Secure Handshake failing (SSL)
I'm usng a library called Lacewing. http://lacewing-project.org/
It uses windows crypt api to make a secure server.
I have created a certificate for my PC (Josh-Laptop), and I used netsh to bind it to port 8012. Lacewing says the certificate is…
        
        jmasterx
        
- 52,639
 - 96
 - 311
 - 557