|
by: Ali |
last post by:
I'm trying to write a really basic chat program that allows 2 client
programs to send messages to each other via a server. I've managed to
write the code so that both clients can connect to the server and send
and recieve messages to/from the server but when I send a message from
one client I can't get the message to appear in the second client. I
think it's something to do with threads but I don't know what! I've
been looking at the...
|
by: Ivan Letal |
last post by:
I want to make a python script which connects to a server to start getting
data and interacts with user in the same time ala chat. I want it to run in
a terminal/console. After I connect a socket, how to ensure that it is
writing text from the server if there is any waiting for possible user input
in the same time?
Thanks
|
by: Charles Pratt |
last post by:
I'm having trouble with a network chat based server I'm working on in
C#, It works find during the reads, but as soon as I start sending back
data my reads from that point on are corrupted. If there's any advice,
it'd be greatly appreciated :)
// created on 11/07/2004 at 19:26
using System;
|
by: c_eagle |
last post by:
i am building a chat server in c using sockets.i have used fork to do
non-blocking read and write between the client and the server.but i
dont know how to accept multiple clients and relay messages between two
hosts through the server.should i use select()? i have given below the
client program.the server program is almost same except the usual
bind() , listen() calls.if someone has got such a chat program,then
please send the sourcecode....
|
by: bizt |
last post by:
Hi,
I have been asked by my manager to look into the possiblily of setting
up an online chat system for the external website. We run an Apache
server with PHP (hence the reason Im posting here) so it would need to
run on that.
Basically, it will run on the website and its purpose will allow
members of the public to access the chat room and discuss current
topics with experts. Similar to a doctors interactive website where
|
|
by: ranabhavin2 |
last post by:
Hi,
I have made database chat application in asp.net.
now suppose I have two chat window at different computer.
If user1 writing
something to user2 then at the bottom there shuold be
message into user2 chat window as "User1 is typing."
Samething we can see into yahoo chat.
Is it possible without using Remoting or Socket ????
|
by: Sean |
last post by:
Hi,
I am trying to write a simple chat/text messaging program but I am
having some problems. I am a rookie when it comes to socket programming
so I am not sure if I am doing the write thing or not. Here is my code:
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <unistd.h>
|
by: shreedhan |
last post by:
hi i am trying to write a simple client server chat program.
the code of server program is:
#define PORT 9999
int main()
{
struct sockaddr_in server_addr,client_addr;
|
by: linksterman |
last post by:
I am making this pretty basic chat project, and I found this echo server on the internet and decided to modify it my needs (much of the methods and fields are the same).
Basically what my program does is acts like a chat room. One computer runs the server which other java programs connect to and can communicate with one another. The problem is that this server I run is horribly inefficient.
I had to use 2 threads for each connection...
|
by: Saman.Jahanpour |
last post by:
Hi my friends,
I want to implement a CHAT section on my website and I do not know
anything about it.
I want help from someone or some people here to tell me what I need to
know and what I need to learn. I heard that I need to know Threading
and Socket Programming, is that true? Tell me please.
I haven't found any specific article about threading in PHP.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|