Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for fellixombc

Alright, my server only loops 3 times (recv's two strings that have been sent) and then freezes when there is no more information being recv'd. Note, this is happening in the listen() function. Main.cpp [CODE]/* * File: main.cpp * Author: fellixombc * * Created on May 23, 2010, 2:14 PM …

Member Avatar for fellixombc
0
1K
Member Avatar for fellixombc

Alright, so everything works, except there are a couple minor bugs. Also, is there a more efficient way in doing my listen method? Thanks. Bugs: -First client does not recv the information it sent, until the 2nd client connects. (the server sends it back) -Everyother click recv's everything twice. Server.cpp …

Member Avatar for fellixombc
0
458
Member Avatar for fellixombc

Everything else works fine, but for some reason, it only receives once. (note, the recv function starts at line 49) function is at code: [CODE=C++]/* * File: Bot.cpp * Author: fellixombc * * Created on May 20, 2010, 6:25 PM */ #include "bot.h" /** Constructs the Bot * @param set …

Member Avatar for fellixombc
0
130
Member Avatar for fellixombc

How would I exactly do this? Heres what I'm talking about: src/test.h src/etc/work.cpp how can i get src/etc/work.cpp to include src/test.h?

Member Avatar for fellixombc
0
63
Member Avatar for fellixombc

How can I fix this so it will let me compare the two? note, the error is at the for loop. [CODE]string Socket::Recv() { /* Get socket size before recv'ing */ while (size == 0) ioctlsocket(client, FIONREAD, &size); /* Create a 'string (characters)' the size of the information being recv …

Member Avatar for fellixombc
0
122
Member Avatar for fellixombc

I get an error when I try compiling with #include <cmath>, yes, I've tried with -lm, still does not work. Compiler: MinGW Compile.bat: [CODE]@echo off echo Compiling... g++.exe main.cpp -o "Distance.exe" -lm pause [/CODE] cmath IS in MinGw include folder. C:\MinGW\include\c++\3.4.5\cmath Any ideas?

Member Avatar for NathanOliver
0
405
Member Avatar for fellixombc

Alright, so, I decided to write an IRC Bot in C++ to get used to socket programming. Everything went fine of course, but I have one bug: when the server sends me a PRIVMSG (a message sent by a user to the server, then comes to me) it prints a …

Member Avatar for fellixombc
0
249
Member Avatar for fellixombc

Here is my trouble: It loads the IRC information fine, but when its suppose to Identify itself (its a registered nick I'm making it use)but, It doesn't. So basically when after it connects, i want it to type that. Here is my code: [CODE]## An IRC bot by: Fellixombc import …

Member Avatar for kyleh
0
105
Member Avatar for fellixombc

I'm brand new to python, so i need a bit help parsing. Why i need parsing? so my irc bot can reconignise me. here is my code: [CODE]#### # Made by Fellixombc # pythonbots.no-ip.org:8080 (coming soon) # Contact: Fellixombc@hotmail.com (add me on msn, I don't check my email's) # Copyright …

0
63