• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Wrote an instant messenger

Joined
Dec 14, 2005
Messages
1,760 (0.40/day)
Likes
91
Location
Calverton, New York
System Name Current rig
Processor i7-6700k
Motherboard Asus Z710-Deluxe
Cooling Noctua NH-U9S
Memory 32GB Ripjaws V 3200
Video Card(s) Asus GTX 980 Ti Strix OC 6GB
Case rosewill L4412
Power Supply seasonic 1kw
#1
woot! The only problems are
1)Client has to intiate conversation and it can't send 2 messages in a row, has to wait for server response.
2)No spacebars :(
 
Joined
Jul 1, 2005
Messages
5,196 (1.13/day)
Likes
296
Location
Kansas City, KS
System Name Dell XPS 15 9560
Processor I7-7700HQ
Memory 32GB DDR4
Video Card(s) GTX 1050/1080 Ti
Storage 1TB SSD
Display(s) 2x Dell P2715Q/4k Internal
Case Razer Core
Audio Device(s) Creative E5/Objective 2 Amp/Senn HD650
Mouse Logitech Proteus Core
Keyboard Logitech G910
#2
Cj_Staal said:
woot! The only problems are
1)Client has to intiate conversation and it can't send 2 messages in a row, has to wait for server response.
2)No spacebars :(

Yay, progress. Now whats it use to communicate? *is interested*.
 
Joined
Dec 14, 2005
Messages
1,760 (0.40/day)
Likes
91
Location
Calverton, New York
System Name Current rig
Processor i7-6700k
Motherboard Asus Z710-Deluxe
Cooling Noctua NH-U9S
Memory 32GB Ripjaws V 3200
Video Card(s) Asus GTX 980 Ti Strix OC 6GB
Case rosewill L4412
Power Supply seasonic 1kw
#3
TCP/IP :) ahduh lol
Anyways, it's a real tiny program, about 57 lines in C++ for both client and server but I'm going to keep adding on to it
 

POGE

New Member
Joined
Oct 28, 2005
Messages
1,585 (0.35/day)
Likes
33
Location
In banjo's Goats.
Processor Turion 64 ML-34 1.8Ghz
Motherboard Compaq Laptop Mobo
Cooling Stock Compaq Laptop Fan
Memory 1x 256 DDR333
Video Card(s) Radeon 200m
Storage 40GB 5200RPM HP
Display(s) Stock Laptop LCD
Case Laptop Case
Audio Device(s) Onboard Realtek
Power Supply Stock Laptop Powerbrick
Software Windows XP Pro
#4
Post it up here... source maybe?
 
Joined
Jul 1, 2005
Messages
5,196 (1.13/day)
Likes
296
Location
Kansas City, KS
System Name Dell XPS 15 9560
Processor I7-7700HQ
Memory 32GB DDR4
Video Card(s) GTX 1050/1080 Ti
Storage 1TB SSD
Display(s) 2x Dell P2715Q/4k Internal
Case Razer Core
Audio Device(s) Creative E5/Objective 2 Amp/Senn HD650
Mouse Logitech Proteus Core
Keyboard Logitech G910
#5
Cj_Staal said:
TCP/IP :) ahduh lol
Anyways, it's a real tiny program, about 57 lines in C++ for both client and server but I'm going to keep adding on to it

Are you using a dedicated server to communicate and clients connect to it?
 

pt

not a suicide-bomber
Joined
Mar 11, 2006
Messages
8,956 (2.07/day)
Likes
167
Location
Portugal
Processor AMD Turion 64 X2 Mobile TL-60 (Trinidad)
Motherboard ASUS F3Ka (ATI RS690M)
Cooling stock
Memory Nanya 2x1GB ddr2 667@5-5-5-15-2T
Video Card(s) ATI Mobility Radeon HD2600 512MB DDR2@ 580mhz/486mhz
Storage 160GB on laptop+250GB external
Display(s) ASUS 15.4
Case Asus Laptop F3Ka chassis
Audio Device(s) on-board
Power Supply 1:30minutes battery
Software "genui xp", 'cause i hated vista
#6
(a bit off topic)
Does MSN works on LINUX?
 
Joined
Dec 14, 2005
Messages
1,760 (0.40/day)
Likes
91
Location
Calverton, New York
System Name Current rig
Processor i7-6700k
Motherboard Asus Z710-Deluxe
Cooling Noctua NH-U9S
Memory 32GB Ripjaws V 3200
Video Card(s) Asus GTX 980 Ti Strix OC 6GB
Case rosewill L4412
Power Supply seasonic 1kw
#7
na no dedicated server for a small-ass program :)
Anyone who wants the source PM me and I'll give it to you... it's nothing special at all... no nodes, vectors, or anything of that sort...

YEs, msn works on linux... use GAIM

Using a dedicated server for everything would be a good idea.... hmm mine is just someone starts the server and the client connects and has a conversation... I wouldn't know where to start for multiple connections to a single server with a database of all users and shit like that woah... or something along those lines or a server for central communication
 
Last edited by a moderator:
Joined
Jul 1, 2005
Messages
5,196 (1.13/day)
Likes
296
Location
Kansas City, KS
System Name Dell XPS 15 9560
Processor I7-7700HQ
Memory 32GB DDR4
Video Card(s) GTX 1050/1080 Ti
Storage 1TB SSD
Display(s) 2x Dell P2715Q/4k Internal
Case Razer Core
Audio Device(s) Creative E5/Objective 2 Amp/Senn HD650
Mouse Logitech Proteus Core
Keyboard Logitech G910
#8
Cj_Staal said:
na no dedicated server for a small-ass program :)
Anyone who wants the source PM me and I'll give it to you... it's nothing special at all... no nodes, vectors, or anything of that sort...

YEs, msn works on linux... use GAIM

Using a dedicated server for everything would be a good idea.... hmm mine is just someone starts the server and the client connects and has a conversation... I wouldn't know where to start for multiple connections to a single server with a database of all users and shit like that woah... or something along those lines or a server for central communication

ahh I see.. your method is great for a 1 on 1 chat, but having many users, it'd be a pain.. :eek:
 
Joined
Dec 14, 2005
Messages
1,760 (0.40/day)
Likes
91
Location
Calverton, New York
System Name Current rig
Processor i7-6700k
Motherboard Asus Z710-Deluxe
Cooling Noctua NH-U9S
Memory 32GB Ripjaws V 3200
Video Card(s) Asus GTX 980 Ti Strix OC 6GB
Case rosewill L4412
Power Supply seasonic 1kw
#9
:( yeah I know, i think when I have more extensive knowledge I'll be programming alot more complex chats.... this is just for learning