sending image from PPC to Desktop and vice versa using sockets

M

matrixed9

Hi Everyone

I need some urgent help in my school project. I have to implement
transfer of image from Pocket pc to desktop and vice versa over a
wireless network using tcp protocol.

I have managed to make the client ( PPC ) and Server (Desktop) to
connect and i can even send text data to each other without any
problem.

Now my problem is i want to send an image from PPC to Desktop and from
Desktop to PPC. Can anybody help me in this part of my code.

I am posting the data send and data received function on my client and
server app. Please help me how to modify it so that i can send and
receive images. PLease it'll be a gr8 favor.

Code for CLIENT (PPC App)
=======================================================================
public void WaitForData()
{
try
{
if ( pfnCallBack == null )
{
pfnCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = m_socClient;
// now start to listen for any data...
m_asynResult = m_socClient.BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

private void cmdSend_Click(object sender, System.EventArgs e)
{
try
{
Object objData = txtDataTx.Text;
byte[] byData = System.Text.Encoding.ASCII.GetBytes(objData.ToString
());
m_socClient.Send (byData);
//txtDataTx.Clear();
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
//y.WriteLine(szData);
WaitForData();
//MessageBox.Show("Done receiving ");
}
catch (ObjectDisposedException )
{
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
=====================================================================

For SERVER (DESKTOP App )

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void WaitForData(System.Net.Sockets.Socket soc)
{
try
{
if ( pfnWorkerCallBack == null )
{
pfnWorkerCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = soc;
// now start to listen for any data...
soc .BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnWorkerCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
textBox1.Text = textBox1.Text + "\nMark:" + szData;
WaitForData(m_socWorker );
}
catch (ObjectDisposedException )
{
System.Diagnostics.Debugger.Log(0,"1","\nOnDataReceived: Socket has
been closed\n");
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
====================================================================
The code above receives and sends only text , i want to modify it to
trasnfer image as byte array and receive on the other side and convert
back to image.
An immediate response wud be greatly appreciated
Thanks
 
G

Guest

Well get rid of the obvious Encoding calls and that leaves you with byte
streams, then you're really close to done. If you're sending file to file,
then open the file with a filestream, push out the data, on the other end
receive it and save it to a file stream.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


Hi Everyone

I need some urgent help in my school project. I have to implement
transfer of image from Pocket pc to desktop and vice versa over a
wireless network using tcp protocol.

I have managed to make the client ( PPC ) and Server (Desktop) to
connect and i can even send text data to each other without any
problem.

Now my problem is i want to send an image from PPC to Desktop and from
Desktop to PPC. Can anybody help me in this part of my code.

I am posting the data send and data received function on my client and
server app. Please help me how to modify it so that i can send and
receive images. PLease it'll be a gr8 favor.

Code for CLIENT (PPC App)
=======================================================================
public void WaitForData()
{
try
{
if ( pfnCallBack == null )
{
pfnCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = m_socClient;
// now start to listen for any data...
m_asynResult = m_socClient.BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

private void cmdSend_Click(object sender, System.EventArgs e)
{
try
{
Object objData = txtDataTx.Text;
byte[] byData = System.Text.Encoding.ASCII.GetBytes(objData.ToString
());
m_socClient.Send (byData);
//txtDataTx.Clear();
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
//y.WriteLine(szData);
WaitForData();
//MessageBox.Show("Done receiving ");
}
catch (ObjectDisposedException )
{
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
=====================================================================

For SERVER (DESKTOP App )

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void WaitForData(System.Net.Sockets.Socket soc)
{
try
{
if ( pfnWorkerCallBack == null )
{
pfnWorkerCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = soc;
// now start to listen for any data...
soc .BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnWorkerCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
textBox1.Text = textBox1.Text + "\nMark:" + szData;
WaitForData(m_socWorker );
}
catch (ObjectDisposedException )
{
System.Diagnostics.Debugger.Log(0,"1","\nOnDataReceived: Socket has
been closed\n");
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
====================================================================
The code above receives and sends only text , i want to modify it to
trasnfer image as byte array and receive on the other side and convert
back to image.
An immediate response wud be greatly appreciated
Thanks
 
M

matrixed9

Hi Chris

Thanks for the reply,
i am actually confused as to how to exactly begin in the data received
section.
To send the data this is what i am doing now, i have removed any
encoding.

On Client Side- wen send image button is clicked
private void button1_Click(object sender, System.EventArgs e)
{
this.openFileDialog1.ShowDialog();
string strFn=this.openFileDialog1.FileName;
this.pictureBox1.Image=new Bitmap(strFn);
FileInfo fiImage=new FileInfo(strFn);
this.m_lImageFileLength=fiImage.Length;
FileStream fs=new
FileStream(strFn,FileMode.Open,FileAccess.Read,FileShare.Read);
m_barrImg=new byte[Convert.ToInt32(this.m_lImageFileLength)];
int
iBytesRead=fs.Read(m_barrImg,0,Convert.ToInt32(this.m_lImageFileLength));
fs.Close();
m_socClient.Send (m_barrImg);
//txtDataTx.Text = m_barrImg.ToString();
}

Now to decode this on the other side how shud i modify the
onDataReceived function ???
Pls guide me with that

Thanks a ton
Cheers Jeroen

Well get rid of the obvious Encoding calls and that leaves you with byte
streams, then you're really close to done. If you're sending file to file,
then open the file with a filestream, push out the data, on the other end
receive it and save it to a file stream.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


Hi Everyone

I need some urgent help in my school project. I have to implement
transfer of image from Pocket pc to desktop and vice versa over a
wireless network using tcp protocol.

I have managed to make the client ( PPC ) and Server (Desktop) to
connect and i can even send text data to each other without any
problem.

Now my problem is i want to send an image from PPC to Desktop and from
Desktop to PPC. Can anybody help me in this part of my code.

I am posting the data send and data received function on my client and
server app. Please help me how to modify it so that i can send and
receive images. PLease it'll be a gr8 favor.

Code for CLIENT (PPC App)
=======================================================================
public void WaitForData()
{
try
{
if ( pfnCallBack == null )
{
pfnCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = m_socClient;
// now start to listen for any data...
m_asynResult = m_socClient.BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

private void cmdSend_Click(object sender, System.EventArgs e)
{
try
{
Object objData = txtDataTx.Text;
byte[] byData = System.Text.Encoding.ASCII.GetBytes(objData.ToString
());
m_socClient.Send (byData);
//txtDataTx.Clear();
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
//y.WriteLine(szData);
WaitForData();
//MessageBox.Show("Done receiving ");
}
catch (ObjectDisposedException )
{
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
=====================================================================

For SERVER (DESKTOP App )

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void WaitForData(System.Net.Sockets.Socket soc)
{
try
{
if ( pfnWorkerCallBack == null )
{
pfnWorkerCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = soc;
// now start to listen for any data...
soc .BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnWorkerCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
textBox1.Text = textBox1.Text + "\nMark:" + szData;
WaitForData(m_socWorker );
}
catch (ObjectDisposedException )
{
System.Diagnostics.Debugger.Log(0,"1","\nOnDataReceived: Socket has
been closed\n");
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
====================================================================
The code above receives and sends only text , i want to modify it to
trasnfer image as byte array and receive on the other side and convert
back to image.
An immediate response wud be greatly appreciated
Thanks
 
G

Ginny Caughey [MVP]

There is already a sample on the web that sends a signature image to a
desktop using sockets:
http://msdn2.microsoft.com/en-us/library/aa446559.aspx

--
Ginny Caughey
Device Application Development MVP


Hi Everyone

I need some urgent help in my school project. I have to implement
transfer of image from Pocket pc to desktop and vice versa over a
wireless network using tcp protocol.

I have managed to make the client ( PPC ) and Server (Desktop) to
connect and i can even send text data to each other without any
problem.

Now my problem is i want to send an image from PPC to Desktop and from
Desktop to PPC. Can anybody help me in this part of my code.

I am posting the data send and data received function on my client and
server app. Please help me how to modify it so that i can send and
receive images. PLease it'll be a gr8 favor.

Code for CLIENT (PPC App)
=======================================================================
public void WaitForData()
{
try
{
if ( pfnCallBack == null )
{
pfnCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = m_socClient;
// now start to listen for any data...
m_asynResult = m_socClient.BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

private void cmdSend_Click(object sender, System.EventArgs e)
{
try
{
Object objData = txtDataTx.Text;
byte[] byData = System.Text.Encoding.ASCII.GetBytes(objData.ToString
());
m_socClient.Send (byData);
//txtDataTx.Clear();
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
//y.WriteLine(szData);
WaitForData();
//MessageBox.Show("Done receiving ");
}
catch (ObjectDisposedException )
{
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
=====================================================================

For SERVER (DESKTOP App )

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void WaitForData(System.Net.Sockets.Socket soc)
{
try
{
if ( pfnWorkerCallBack == null )
{
pfnWorkerCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = soc;
// now start to listen for any data...
soc .BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnWorkerCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
textBox1.Text = textBox1.Text + "\nMark:" + szData;
WaitForData(m_socWorker );
}
catch (ObjectDisposedException )
{
System.Diagnostics.Debugger.Log(0,"1","\nOnDataReceived: Socket has
been closed\n");
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
====================================================================
The code above receives and sends only text , i want to modify it to
trasnfer image as byte array and receive on the other side and convert
back to image.
An immediate response wud be greatly appreciated
Thanks
 
G

Guest

My suggestion is this. Figure out how to open, read and write an image file
on the device - so no socket involved, just an open, read bytes, write bytes
scenario. Once you figure that out, then all you need is to pass those
bytes through a socket and you're done. Since this is a school exercise,
I'm not going to provide you the solution - only suggestions that will teach
you what you need to know.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


Hi Chris

Thanks for the reply,
i am actually confused as to how to exactly begin in the data received
section.
To send the data this is what i am doing now, i have removed any
encoding.

On Client Side- wen send image button is clicked
private void button1_Click(object sender, System.EventArgs e)
{
this.openFileDialog1.ShowDialog();
string strFn=this.openFileDialog1.FileName;
this.pictureBox1.Image=new Bitmap(strFn);
FileInfo fiImage=new FileInfo(strFn);
this.m_lImageFileLength=fiImage.Length;
FileStream fs=new
FileStream(strFn,FileMode.Open,FileAccess.Read,FileShare.Read);
m_barrImg=new byte[Convert.ToInt32(this.m_lImageFileLength)];
int
iBytesRead=fs.Read(m_barrImg,0,Convert.ToInt32(this.m_lImageFileLength));
fs.Close();
m_socClient.Send (m_barrImg);
//txtDataTx.Text = m_barrImg.ToString();
}

Now to decode this on the other side how shud i modify the
onDataReceived function ???
Pls guide me with that

Thanks a ton
Cheers Jeroen

Well get rid of the obvious Encoding calls and that leaves you with byte
streams, then you're really close to done. If you're sending file to
file,
then open the file with a filestream, push out the data, on the other end
receive it and save it to a file stream.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


Hi Everyone

I need some urgent help in my school project. I have to implement
transfer of image from Pocket pc to desktop and vice versa over a
wireless network using tcp protocol.

I have managed to make the client ( PPC ) and Server (Desktop) to
connect and i can even send text data to each other without any
problem.

Now my problem is i want to send an image from PPC to Desktop and from
Desktop to PPC. Can anybody help me in this part of my code.

I am posting the data send and data received function on my client and
server app. Please help me how to modify it so that i can send and
receive images. PLease it'll be a gr8 favor.

Code for CLIENT (PPC App)
=======================================================================
public void WaitForData()
{
try
{
if ( pfnCallBack == null )
{
pfnCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = m_socClient;
// now start to listen for any data...
m_asynResult = m_socClient.BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

private void cmdSend_Click(object sender, System.EventArgs e)
{
try
{
Object objData = txtDataTx.Text;
byte[] byData = System.Text.Encoding.ASCII.GetBytes(objData.ToString
());
m_socClient.Send (byData);
//txtDataTx.Clear();
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
//y.WriteLine(szData);
WaitForData();
//MessageBox.Show("Done receiving ");
}
catch (ObjectDisposedException )
{
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
=====================================================================

For SERVER (DESKTOP App )

public class CSocketPacket
{
public System.Net.Sockets.Socket thisSocket;
public byte[] dataBuffer = new byte[1];
}

public void WaitForData(System.Net.Sockets.Socket soc)
{
try
{
if ( pfnWorkerCallBack == null )
{
pfnWorkerCallBack = new AsyncCallback (OnDataReceived);
}
CSocketPacket theSocPkt = new CSocketPacket ();
theSocPkt.thisSocket = soc;
// now start to listen for any data...
soc .BeginReceive (theSocPkt.dataBuffer
,0,theSocPkt.dataBuffer.Length
,SocketFlags.None,pfnWorkerCallBack,theSocPkt);
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}

}

public void OnDataReceived(IAsyncResult asyn)
{
try
{
CSocketPacket theSockId = (CSocketPacket)asyn.AsyncState ;
//end receive...
int iRx = 0 ;
iRx = theSockId.thisSocket.EndReceive (asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(theSockId.dataBuffer, 0, iRx, chars, 0);
System.String szData = new System.String(chars);
txtDataRx.Text = txtDataRx.Text + szData;
textBox1.Text = textBox1.Text + "\nMark:" + szData;
WaitForData(m_socWorker );
}
catch (ObjectDisposedException )
{
System.Diagnostics.Debugger.Log(0,"1","\nOnDataReceived: Socket has
been closed\n");
}
catch(SocketException se)
{
MessageBox.Show (se.Message );
}
}
====================================================================
The code above receives and sends only text , i want to modify it to
trasnfer image as byte array and receive on the other side and convert
back to image.
An immediate response wud be greatly appreciated
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top