473,583 Members | 2,878 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asynchronous socket problem when connecting to localhost

I am trying to create a server application using asynchronous
sockets. I run into a problem when I try to connect to my server
using a non-.net program. I can establish the connection, and send
some packets in response to the programs first message, but when I
receive a response back, it's the last packet I sent. After that
packet, I receive the packet I really wanted. This only happens when
I connect with local host. I tried connecting with that same program
from another computer, and there is no problem. Any ideas?
Thanks,
Chris

Here's some of the code:
public void Bind(int l_port)
{;
m_port = l_port;
IPHostEntry ipHostInfo = Dns.GetHostEntr y("");
IPAddress ipAddress = ipHostInfo.Addr essList[1];
//m_tcpEndPoint = new IPEndPoint(IPAd dress.Any, m_port);
m_tcpEndPoint = new IPEndPoint(ipAd dress, m_port);
m_mainSocket = new Socket(AddressF amily.InterNetw ork,
SocketType.Stre am, ProtocolType.Tc p);
m_mainSocket.Bi nd(m_tcpEndPoin t);
m_mainSocket.Li sten(100);
m_callBack = new AsyncCallback(O nClientConnect) ;
m_mainSocket.Be ginAccept(m_cal lBack, m_mainSocket);
}
public void OnClientConnect (IAsyncResult ar)
{
try
{
Socket stateOfRecieveS ock = (Socket)ar.Asyn cState;
m_workSocks[sockCount] =
stateOfRecieveS ock.EndAccept(a r);
OnSend(m_workSo cks[sockCount]);
sockCount++;
AsyncCallback recievedData = new
AsyncCallback(O nClientConnect) ;
stateOfRecieveS ock.BeginAccept (recievedData,
stateOfRecieveS ock);
}
catch (Exception ex)
{
throw new Exception("Ther e was a problem receiving
data.", ex);
}
}
//SendMessage is called after receiving a packet from the
client and sending one as well

public void SendMessage(IOB uffer stateOfTheSock)
{
if (stateOfTheSock .TheSocket.Conn ected)
{
//add data to the buffer
AsyncCallback callMe = new
AsyncCallback(G otMoreData);

stateOfTheSock. TheSocket.Begin Send(stateOfThe Sock.TheBuffer, 0,
stateOfTheSock. TheBuffer.Lengt h, SocketFlags.Non e, callMe,
stateOfTheSock) ;
}
public void GotMoreData(IAs yncResult ar)
{
IOBuffer moreSocks = (IOBuffer)ar.As yncState;
if (moreSocks.TheS ocket.Connected )
{
moreSocks.Bytes Received =
moreSocks.TheSo cket.EndReceive (ar);
moreSocks.Clear Buffer();
AsyncCallback more = new AsyncCallback(G otMoreData);
moreSocks.TheSo cket.BeginRecei ve(moreSocks.Th eBuffer,
0, moreSocks.TheBu ffer.Length, SocketFlags.Non e, more, moreSocks);
}
}

Feb 3 '07 #1
9 4287
Chris, server talking to itself?
You server starts sending right after accepting connection. It is
unusual.Normall y a client would send something upon connection to indicate
it is ready, the server would respond after receiving some data. This will
also ensure the packet goes to a correct client.

Michael

<da*********@gm ail.comwrote in message
news:11******** **************@ s48g2000cws.goo glegroups.com.. .
>I am trying to create a server application using asynchronous
sockets. I run into a problem when I try to connect to my server
using a non-.net program. I can establish the connection, and send
some packets in response to the programs first message, but when I
receive a response back, it's the last packet I sent. After that
packet, I receive the packet I really wanted. This only happens when
I connect with local host. I tried connecting with that same program
from another computer, and there is no problem. Any ideas?
Thanks,
Chris

Here's some of the code:
public void Bind(int l_port)
{;
m_port = l_port;
IPHostEntry ipHostInfo = Dns.GetHostEntr y("");
IPAddress ipAddress = ipHostInfo.Addr essList[1];
//m_tcpEndPoint = new IPEndPoint(IPAd dress.Any, m_port);
m_tcpEndPoint = new IPEndPoint(ipAd dress, m_port);
m_mainSocket = new Socket(AddressF amily.InterNetw ork,
SocketType.Stre am, ProtocolType.Tc p);
m_mainSocket.Bi nd(m_tcpEndPoin t);
m_mainSocket.Li sten(100);
m_callBack = new AsyncCallback(O nClientConnect) ;
m_mainSocket.Be ginAccept(m_cal lBack, m_mainSocket);
}
public void OnClientConnect (IAsyncResult ar)
{
try
{
Socket stateOfRecieveS ock = (Socket)ar.Asyn cState;
m_workSocks[sockCount] =
stateOfRecieveS ock.EndAccept(a r);
OnSend(m_workSo cks[sockCount]);
sockCount++;
AsyncCallback recievedData = new
AsyncCallback(O nClientConnect) ;
stateOfRecieveS ock.BeginAccept (recievedData,
stateOfRecieveS ock);
}
catch (Exception ex)
{
throw new Exception("Ther e was a problem receiving
data.", ex);
}
}
//SendMessage is called after receiving a packet from the
client and sending one as well

public void SendMessage(IOB uffer stateOfTheSock)
{
if (stateOfTheSock .TheSocket.Conn ected)
{
//add data to the buffer
AsyncCallback callMe = new
AsyncCallback(G otMoreData);

stateOfTheSock. TheSocket.Begin Send(stateOfThe Sock.TheBuffer, 0,
stateOfTheSock. TheBuffer.Lengt h, SocketFlags.Non e, callMe,
stateOfTheSock) ;
}
public void GotMoreData(IAs yncResult ar)
{
IOBuffer moreSocks = (IOBuffer)ar.As yncState;
if (moreSocks.TheS ocket.Connected )
{
moreSocks.Bytes Received =
moreSocks.TheSo cket.EndReceive (ar);
moreSocks.Clear Buffer();
AsyncCallback more = new AsyncCallback(G otMoreData);
moreSocks.TheSo cket.BeginRecei ve(moreSocks.Th eBuffer,
0, moreSocks.TheBu ffer.Length, SocketFlags.Non e, more, moreSocks);
}
}

Feb 4 '07 #2
On Feb 4, 6:43 am, "Michael Rubinstein"
<mSPAM_REMOVEr@ m®ubinstein.com wrote:
Chris, server talking to itself?
You server starts sending right after accepting connection. It is
unusual.Normall y a client would send something upon connection to indicate
it is ready, the server would respond after receiving some data. This will
also ensure the packet goes to a correct client.

Michael

<darthgha...@gm ail.comwrote in message

news:11******** **************@ s48g2000cws.goo glegroups.com.. .
I am trying to create a server application using asynchronous
sockets. I run into a problem when I try to connect to my server
using a non-.net program. I can establish the connection, and send
some packets in response to the programs first message, but when I
receive a response back, it's the last packet I sent. After that
packet, I receive the packet I really wanted. This only happens when
I connect with local host. I tried connecting with that same program
from another computer, and there is no problem. Any ideas?
Thanks,
Chris
Here's some of the code:
public void Bind(int l_port)
{;
m_port = l_port;
IPHostEntry ipHostInfo = Dns.GetHostEntr y("");
IPAddress ipAddress = ipHostInfo.Addr essList[1];
//m_tcpEndPoint = new IPEndPoint(IPAd dress.Any, m_port);
m_tcpEndPoint = new IPEndPoint(ipAd dress, m_port);
m_mainSocket = new Socket(AddressF amily.InterNetw ork,
SocketType.Stre am, ProtocolType.Tc p);
m_mainSocket.Bi nd(m_tcpEndPoin t);
m_mainSocket.Li sten(100);
m_callBack = new AsyncCallback(O nClientConnect) ;
m_mainSocket.Be ginAccept(m_cal lBack, m_mainSocket);
}
public void OnClientConnect (IAsyncResult ar)
{
try
{
Socket stateOfRecieveS ock = (Socket)ar.Asyn cState;
m_workSocks[sockCount] =
stateOfRecieveS ock.EndAccept(a r);
OnSend(m_workSo cks[sockCount]);
sockCount++;
AsyncCallback recievedData = new
AsyncCallback(O nClientConnect) ;
stateOfRecieveS ock.BeginAccept (recievedData,
stateOfRecieveS ock);
}
catch (Exception ex)
{
throw new Exception("Ther e was a problem receiving
data.", ex);
}
}
//SendMessage is called after receiving a packet from the
client and sending one as well
public void SendMessage(IOB uffer stateOfTheSock)
{
if (stateOfTheSock .TheSocket.Conn ected)
{
//add data to the buffer
AsyncCallback callMe = new
AsyncCallback(G otMoreData);
stateOfTheSock. TheSocket.Begin Send(stateOfThe Sock.TheBuffer, 0,
stateOfTheSock. TheBuffer.Lengt h, SocketFlags.Non e, callMe,
stateOfTheSock) ;
}
public void GotMoreData(IAs yncResult ar)
{
IOBuffer moreSocks = (IOBuffer)ar.As yncState;
if (moreSocks.TheS ocket.Connected )
{
moreSocks.Bytes Received =
moreSocks.TheSo cket.EndReceive (ar);
moreSocks.Clear Buffer();
AsyncCallback more = new AsyncCallback(G otMoreData);
moreSocks.TheSo cket.BeginRecei ve(moreSocks.Th eBuffer,
0, moreSocks.TheBu ffer.Length, SocketFlags.Non e, more, moreSocks);
}
}
That was my first thought as well. I am trying to create a server for
an already built client (weird I know, but it's for school and I just
do what I'm told). I tried making the server complete the TCP
connection and then wait for the client to send what it's supposed to
send, but I just keep waiting for it. That's when I tried to send the
info I'm supposed to send first, then listen for the response. That
works at first, then I run into the problem listed above. Maybe I'll
try sending one then waiting for another before I send one again.
We'll see if that works.
On another note, does anyone know how to listen on localhost and all
the given IP's all at once? The only way I have found to do this is
to use IPAdress.Any, but I heard that this wasn't secure. Don't know
much about that. If anyone has any info an that, please share.
Thanks,
Chris

Feb 7 '07 #3
Chris, if your client is not correctly written, then there is so much
you can do. The TCP connection is established once the client receives the
CallBack from BeginConnect() or whatever Winsock code it uses. At that point
the client can issue Send() or BeginSend().
>
On another note, does anyone know how to listen on localhost and all
the given IP's all at once? The only way I have found to do this is
to use IPAdress.Any, but I heard that this wasn't secure.
>
If you are concerned about security then the firewall is a better place to
address it.

Good luck, Michael
<da*********@gm ail.comwrote in message
news:11******** **************@ p10g2000cwp.goo glegroups.com.. .
On Feb 4, 6:43 am, "Michael Rubinstein"
<mSPAM_REMOVEr@ m®ubinstein.com wrote:
Chris, server talking to itself?
You server starts sending right after accepting connection. It is
unusual.Normall y a client would send something upon connection to indicate
it is ready, the server would respond after receiving some data. This will
also ensure the packet goes to a correct client.

Michael

<darthgha...@gm ail.comwrote in message

news:11******** **************@ s48g2000cws.goo glegroups.com.. .
I am trying to create a server application using asynchronous
sockets. I run into a problem when I try to connect to my server
using a non-.net program. I can establish the connection, and send
some packets in response to the programs first message, but when I
receive a response back, it's the last packet I sent. After that
packet, I receive the packet I really wanted. This only happens when
I connect with local host. I tried connecting with that same program
from another computer, and there is no problem. Any ideas?
Thanks,
Chris
Here's some of the code:
public void Bind(int l_port)
{;
m_port = l_port;
IPHostEntry ipHostInfo = Dns.GetHostEntr y("");
IPAddress ipAddress = ipHostInfo.Addr essList[1];
//m_tcpEndPoint = new IPEndPoint(IPAd dress.Any, m_port);
m_tcpEndPoint = new IPEndPoint(ipAd dress, m_port);
m_mainSocket = new Socket(AddressF amily.InterNetw ork,
SocketType.Stre am, ProtocolType.Tc p);
m_mainSocket.Bi nd(m_tcpEndPoin t);
m_mainSocket.Li sten(100);
m_callBack = new AsyncCallback(O nClientConnect) ;
m_mainSocket.Be ginAccept(m_cal lBack, m_mainSocket);
}
public void OnClientConnect (IAsyncResult ar)
{
try
{
Socket stateOfRecieveS ock = (Socket)ar.Asyn cState;
m_workSocks[sockCount] =
stateOfRecieveS ock.EndAccept(a r);
OnSend(m_workSo cks[sockCount]);
sockCount++;
AsyncCallback recievedData = new
AsyncCallback(O nClientConnect) ;
stateOfRecieveS ock.BeginAccept (recievedData,
stateOfRecieveS ock);
}
catch (Exception ex)
{
throw new Exception("Ther e was a problem receiving
data.", ex);
}
}
//SendMessage is called after receiving a packet from the
client and sending one as well
public void SendMessage(IOB uffer stateOfTheSock)
{
if (stateOfTheSock .TheSocket.Conn ected)
{
//add data to the buffer
AsyncCallback callMe = new
AsyncCallback(G otMoreData);
stateOfTheSock. TheSocket.Begin Send(stateOfThe Sock.TheBuffer, 0,
stateOfTheSock. TheBuffer.Lengt h, SocketFlags.Non e, callMe,
stateOfTheSock) ;
}
public void GotMoreData(IAs yncResult ar)
{
IOBuffer moreSocks = (IOBuffer)ar.As yncState;
if (moreSocks.TheS ocket.Connected )
{
moreSocks.Bytes Received =
moreSocks.TheSo cket.EndReceive (ar);
moreSocks.Clear Buffer();
AsyncCallback more = new AsyncCallback(G otMoreData);
moreSocks.TheSo cket.BeginRecei ve(moreSocks.Th eBuffer,
0, moreSocks.TheBu ffer.Length, SocketFlags.Non e, more, moreSocks);
}
}
That was my first thought as well. I am trying to create a server for
an already built client (weird I know, but it's for school and I just
do what I'm told). I tried making the server complete the TCP
connection and then wait for the client to send what it's supposed to
send, but I just keep waiting for it. That's when I tried to send the
info I'm supposed to send first, then listen for the response. That
works at first, then I run into the problem listed above. Maybe I'll
try sending one then waiting for another before I send one again.
We'll see if that works.
On another note, does anyone know how to listen on localhost and all
the given IP's all at once? The only way I have found to do this is
to use IPAdress.Any, but I heard that this wasn't secure. Don't know
much about that. If anyone has any info an that, please share.
Thanks,
Chris
Feb 7 '07 #4
On Tue, 06 Feb 2007 20:19:55 -0800, <da*********@gm ail.comwrote:
[...]
On another note, does anyone know how to listen on localhost and all
the given IP's all at once? The only way I have found to do this is
to use IPAdress.Any, but I heard that this wasn't secure. Don't know
much about that. If anyone has any info an that, please share.
I don't see why using "any" for your IP address is inherently any less
secure than using a specific IP address. And it's the only way for you to
allow a single socket to accept connections on more than one IP address.
Feb 7 '07 #5
"Peter Duniho" <Np*********@nn owslpianmk.comw rote in message
news:op******** *******@petes-computer.local. ..
On Tue, 06 Feb 2007 20:19:55 -0800, <da*********@gm ail.comwrote:
>[...]
On another note, does anyone know how to listen on localhost and all
the given IP's all at once? The only way I have found to do this is
to use IPAdress.Any, but I heard that this wasn't secure. Don't know
much about that. If anyone has any info an that, please share.

I don't see why using "any" for your IP address is inherently any less
secure than using a specific IP address. And it's the only way for you to
allow a single socket to accept connections on more than one IP address.
I agree - the only time using "Any" (0.0.0.0) would be insecure is when one
of your IP Addresses is considered insecure. For example, often I want to
start a service process up (say, IIS for testing) and have it ONLY listen on
127.0.0.1 - this helps mitigate the threat surface.

If I have IIS listen on my main ip (192.168.100.10 0, say), then I'm now
allowing anyone to come attack it.

If the goal is to have my socket app listen on all sockets, then there's no
security difference that I can see between binding to the "any" address, or
enumerating the addresses and binding to each invividually.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise , MVP C#
http://www.coversant.net/blogs/cmullins
Feb 8 '07 #6
On Feb 8, 12:19 pm, "Chris Mullins [MVP]" <cmull...@yahoo .comwrote:
"Peter Duniho" <NpOeStPe...@nn owslpianmk.comw rote in message

news:op******** *******@petes-computer.local. ..
On Tue, 06 Feb 2007 20:19:55 -0800, <darthgha...@gm ail.comwrote:
[...]
On another note, does anyone know how to listen on localhost and all
the given IP's all at once? The only way I have found to do this is
to use IPAdress.Any, but I heard that this wasn't secure. Don't know
much about that. If anyone has any info an that, please share.
I don't see why using "any" for your IP address is inherently any less
secure than using a specific IP address. And it's the only way for you to
allow a single socket to accept connections on more than one IP address.

I agree - the only time using "Any" (0.0.0.0) would be insecure is when one
of your IP Addresses is considered insecure. For example, often I want to
start a service process up (say, IIS for testing) and have it ONLY listen on
127.0.0.1 - this helps mitigate the threat surface.

If I have IIS listen on my main ip (192.168.100.10 0, say), then I'm now
allowing anyone to come attack it.

If the goal is to have my socket app listen on all sockets, then there's no
security difference that I can see between binding to the "any" address, or
enumerating the addresses and binding to each invividually.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise , MVP C#http://www.coversant.net/blogs/cmullins
Thanks for the help. I solved the problem by sending ignored data
inbetween recieves. I was just wondering if anyone knew of anything I
should look out for when doing this.
Thanks,

Feb 10 '07 #7
On Sat, 10 Feb 2007 10:08:20 -0800, <da*********@gm ail.comwrote:
Thanks for the help. I solved the problem by sending ignored data
inbetween recieves. I was just wondering if anyone knew of anything I
should look out for when doing this.
Yes. Sending extra "ignored data" is a hack and there's no reason you
should need to do it. If you do, it means you have an unsolved bug in
your own code. Adding a new bug to your code in order to avoid a
different bug already in your code is not a good programming practice.

Pete
Feb 10 '07 #8
On Feb 10, 12:44 pm, "Peter Duniho" <NpOeStPe...@nn owslpianmk.com>
wrote:
On Sat, 10 Feb 2007 10:08:20 -0800, <darthgha...@gm ail.comwrote:
Thanks for the help. I solved the problem by sending ignored data
inbetween recieves. I was just wondering if anyone knew of anything I
should look out for when doing this.

Yes. Sending extra "ignored data" is a hack and there's no reason you
should need to do it. If you do, it means you have an unsolved bug in
your own code. Adding a new bug to your code in order to avoid a
different bug already in your code is not a good programming practice.

Pete
After many moons, I found my unsolved bug. It seems the socket had
already given me the packet I was looking for combined with the
earlier packet. I had (wrongly) assumed that when I did a
BeginRecieve(), I would just get one message in the buffer instead of
two. Now I am rewriting the code to support multiple messages in one
buffer.
Thanks again for your time,
Chris

Feb 17 '07 #9
JR
Sockets send and receive bytes, not messages. This is a common mistake. The
receiver needs to split the byte stream into messages.

In practive, for shorter messages with some delay between them, you will
often receive complete messages each time.

JR

<da*********@gm ail.com???
??????:11****** *************** *@l53g2000cwa.g ooglegroups.com ...
On Feb 10, 12:44 pm, "Peter Duniho" <NpOeStPe...@nn owslpianmk.com>
wrote:
>On Sat, 10 Feb 2007 10:08:20 -0800, <darthgha...@gm ail.comwrote:
Thanks for the help. I solved the problem by sending ignored data
inbetween recieves. I was just wondering if anyone knew of anything I
should look out for when doing this.

Yes. Sending extra "ignored data" is a hack and there's no reason you
should need to do it. If you do, it means you have an unsolved bug in
your own code. Adding a new bug to your code in order to avoid a
different bug already in your code is not a good programming practice.

Pete

After many moons, I found my unsolved bug. It seems the socket had
already given me the packet I was looking for combined with the
earlier packet. I had (wrongly) assumed that when I did a
BeginRecieve(), I would just get one message in the buffer instead of
two. Now I am rewriting the code to support multiple messages in one
buffer.
Thanks again for your time,
Chris

Feb 17 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2170
by: philippe Tressard | last post by:
Hi, I've 2 instances of apache 1.3.27 with php 4.2.3 and mysql 3.23.42 running on the same server. The 1st apache listens the port number 80 and communicates with the 1st mysql with the socket /var/mysql/mysql1.sock (i've also defined the port 3306) The 2nd apache listens the port number 8080 and communicates with the 2nd
2
2512
by: news.microsoft.com | last post by:
Hi I write dll library which one of it component will be Net socket communication. Communication is working very good, but i've got problem when client is connecting. When server is started, client is connecting without problems; but when servre is down and i start client, client connect to server! Few lines from code: client.Socket =...
9
11328
by: AA | last post by:
This is making me crazy!! Please, if some body can help me. I'm testing a ver simple socket client. In my test I just open and close a connection (in a loop) to my local IIS server (port 80) using System.Net.Sockets;
8
21902
by: Grant Richard | last post by:
Using the TcpListener and TcpClient I created a program that just sends and receives a short string - over and over again. The program is fine until it gets to around 1500 to 1800 messages. At that time, I get a SocketException with the message "Only one usage of each socket address (protocol/network address/port) is normally permitted". This...
2
2175
by: Ronodev.Sen | last post by:
the way my program needs to go is -- 1) open a socket and listen on it 2) moment a client connects to the socket - process some data (by sending it to another machine), get the result and send it back to the SAME socket - the data isnt a large value (measured in bytes rather than MB or GB) i TRIED thinking of this in the Asynchronous...
8
4566
by: panko | last post by:
Hello, I can't manage with asynchronous socket communication. :( I wrote a class CSocket.cs. This class is taking care of sending strings to LED display. This display is actually communicating via serial port and serial/ethernet converter (MOXA NE-4100T) with TCP server. So communication is in that way: MyApplication(TCP...
5
8222
by: raghubr | last post by:
Hi all, Can any one pls guide me through..I need to transfer the file from server to client and client to server using sockets in an Asynchronous mode so this file transfer doesn't hinder the common process of connecting and of the server and client... here is the code i am trying to implement. this code snippet is for message transfer only...
2
3415
by: Nicolas Le Gland | last post by:
Hello everyone here. This is my first post in this newsgroup, I hope I won't be to much off-topic. Feel free to redirect me to any better group. I am getting strange timing issues when failing to asynchronously connect sockets on closed or filtered ports, but I'm quite unsure if this is a PHP issue or my misunderstanding, as it seems...
2
1535
by: SvenV | last post by:
I based my program on the asynchronous client/server example on msdn. There weren't too many modifications to the original code. I just created some extra code to response to different messages. F.e. when I send GETARTICLES<EOF> it gets the articles from the DB and when I send something else it does that specific task. That all works fine. The...
0
7888
marktang
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...
0
7811
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8159
Oralloy
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. ...
0
8185
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6571
agi2029
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...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3836
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1416
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1147
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.